org.ow2.petals.se.rmi.registry
Class RmiProperties

java.lang.Object
  extended by org.ow2.petals.se.rmi.registry.RmiProperties

public class RmiProperties
extends java.lang.Object

The RMI component properties.

Author:
Nicolas SALATGE - eBMWebSourcing, Roland NAUDIN - eBMWebSourcing

Field Summary
static java.lang.String DEFAULT_RMI_COMPONENT_CONTEXT_NAME
          the name of the RMI component context.
static boolean DEFAULT_RMI_EMBEDDED_REGISTRY
          the internal registry server is active.
static java.lang.String DEFAULT_RMI_HOST
          the default RMI host.
static int DEFAULT_RMI_PORT
          the default RMI port.
static java.lang.String RMI_COMPONENT_CONTEXT_NAME
          Property: the name of the RMI component context.
static java.lang.String RMI_EMBEDDED_REGISTRY
          Property: Verify if the internal registry server have to be activated.
static java.lang.String RMI_HOST
          the RMI host property.
static java.lang.String RMI_PORT
          the RMI port property.
 
Constructor Summary
RmiProperties(java.io.File jbiDescriptor)
          Creates a new instance of RmiProperties.
 
Method Summary
 java.lang.String getComponentContextName()
           
 java.lang.String getRmiHost()
          Get the RMI port.
 int getRmiPort()
          Get the RMI port.
 boolean isEmbeddedRegistry()
          Does the component have to start its internal RMI registry server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RMI_HOST

public static final java.lang.String RMI_HOST
the RMI host property.

See Also:
Constant Field Values

RMI_PORT

public static final java.lang.String RMI_PORT
the RMI port property.

See Also:
Constant Field Values

RMI_EMBEDDED_REGISTRY

public static final java.lang.String RMI_EMBEDDED_REGISTRY
Property: Verify if the internal registry server have to be activated.

See Also:
Constant Field Values

RMI_COMPONENT_CONTEXT_NAME

public static final java.lang.String RMI_COMPONENT_CONTEXT_NAME
Property: the name of the RMI component context.

See Also:
Constant Field Values

DEFAULT_RMI_HOST

public static final java.lang.String DEFAULT_RMI_HOST
the default RMI host.

See Also:
Constant Field Values

DEFAULT_RMI_PORT

public static final int DEFAULT_RMI_PORT
the default RMI port.

See Also:
Constant Field Values

DEFAULT_RMI_EMBEDDED_REGISTRY

public static final boolean DEFAULT_RMI_EMBEDDED_REGISTRY
the internal registry server is active.

See Also:
Constant Field Values

DEFAULT_RMI_COMPONENT_CONTEXT_NAME

public static final java.lang.String DEFAULT_RMI_COMPONENT_CONTEXT_NAME
the name of the RMI component context.

See Also:
Constant Field Values
Constructor Detail

RmiProperties

public RmiProperties(java.io.File jbiDescriptor)
              throws RmiPropertiesException
Creates a new instance of RmiProperties.

Parameters:
propertiesManager - the properties
Throws:
RmiPropertiesException - Failed to retrieve the properties
Method Detail

getRmiHost

public java.lang.String getRmiHost()
Get the RMI port.

Returns:
the RMI host

getRmiPort

public int getRmiPort()
Get the RMI port.

Returns:
the RMI port

isEmbeddedRegistry

public boolean isEmbeddedRegistry()
Does the component have to start its internal RMI registry server.

Returns:
true if the component have to start its internal RMI registry server

getComponentContextName

public java.lang.String getComponentContextName()


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.