dermi.util
Class Context

java.lang.Object
  extended by dermi.util.Context

public class Context
extends java.lang.Object

This class contains Dermi's constants, like connection timeouts, synchronous blocking delays, and String constants for the properties objects.

Version:
1.2
Author:
Carles Pairot , Pedro Garcia

Field Summary
static java.lang.String ACTIVATABLE
           
static java.lang.String ACTIVATION_THRESHOLD
           
static java.lang.String ACTIVATOR_ID
           
static int ACTV_THRESHOLD
          Constant that holds the default activation threshold for components: If more than ACTV_THRESHOLD invocations are received in a second, a new component instance will be activated in a replica node.
static java.lang.String ANYCALL_RESULT
           
static java.lang.String APPEND_RESULT
           
static java.lang.String APPEND_RESULT_DYNAMIC
           
static java.lang.String CLASS_ID
          CLASS_ID is the unique identifier assigned to an object server.
static java.lang.String CLASS_NAME
          The name of the constant containing the name of the Stub class for the properties reference
static java.lang.String CLASS_STORE
          The name of the constant containing the directory with loadable remote stubs
static java.lang.String COMMUNITYID
          Constant that holds the community ID for an activator object
static java.lang.String COMPONENT_FILE
           
static java.lang.String COMPONENT_ID
           
static java.lang.String COMPONENT_URL
           
static java.lang.String CONFIG_FILE
           
static int DELAY
          Default delay for synchronous calls
static java.lang.String DERMI_DOLR_CHILDREN
          DERMI_DOLR_CHILDREN refers to the name of the field containing children objects for any object
static java.lang.String DERMI_DOLR_NAMING
          DERMI_DOLR_NAMING represents the DERMI naming distributed object location and routing facility
static java.lang.String DERMI_DOLR_PARENT
          DERMI_DOLR_PARENT refers to the parent of an object (in the naming hierarchy)
static java.lang.String DERMI_DOLR_UNIQUE_URI
          DERMI_DOLR_UNIQUE_URI represents the object URI identifier associated to an object
static java.lang.String DESTINATION_NODEHANDLE
           
static java.lang.String DISPATCH
           
static java.lang.String DYNAMIC_HOPPED_CALL
           
static java.lang.String EXCEPTION
           
static java.lang.String FACTORY_CLASS
           
static java.lang.String FACTORY_NAME
           
static long FREEMEM_THRESHOLD
          Constant that holds the default free memory threshold for component passivation: If less than FREEMEM_THRESHOLD bytes of memory are available in the JVM, the component's instance will be passivated.
static java.lang.String GET_COMPONENT_INSTANCE
           
static java.lang.String GRANULARITY
           
static java.lang.String HOPPED
           
static java.lang.String IMPLEMENTATION_CLASS
           
static java.lang.String IMPLEMENTATION_NAME
           
static java.lang.String INTERCEPTOR_UID
           
static java.lang.String INTERFACE
           
static java.lang.String INTERFACE_CLASS
           
static java.lang.String INTERFACE_NAME
           
static java.lang.String INTERFACES
           
static java.lang.String MANYCALL
           
static java.lang.String MEMBERSHIP_METAINFO
           
static java.lang.String MEMBERSHIP_PERCENTAGE
           
static java.lang.String METHOD
           
static java.lang.String NETWORK_PROXY
           
static java.lang.String NETWORK_PROXY_PORT
           
static java.lang.String OBJ
           
static java.lang.String OBJECTCONTENT
           
static java.lang.String OBJECTID
           
static java.lang.String PASSIVATION_THRESHOLD
           
static int PASV_THRESHOLD
          Constant that holds the default passivation threshold for components: If after PASV_THRESHOLD milliseconds, the component has not received any invocations, it will be passivated.
static java.lang.String PERSISTENT
           
static java.lang.String PROTOCOL
          Constant that holds the protocol used by Dermi to communicate between remote nodes
static java.lang.String PROVIDER_CLASS
          Constant that holds the name of the environment property for specifying configuration information for the class factory provider to use.
static java.lang.String PROVIDER_HOST
          Constant that holds the name of the environment property for specifying configuration information for the service provider to use.
static java.lang.String PROVIDER_PORT
          Constant that holds the name of the environment property for specifying configuration information for the port numberof the provider to use.
static java.lang.String REMOTE_OBJECT
           
static java.lang.String REPLICA
           
static java.lang.String REPLICATED
           
static java.lang.String RESULT
           
static int RETRANSMISSIONS
          Number of event retransmissions in case all timeouts have been consumed
static java.lang.String RETRIES
           
static java.lang.String SOURCE_NODEHANDLE
           
static java.lang.String STATEFUL
           
static java.lang.String STATUS
           
static java.lang.String SYNCHRONY
           
static int TIMEOUT
          Timeout constant.
static java.lang.String TIMESTAMP
           
static java.lang.String TYPE
           
static java.lang.String UNDERLYING_DHT
          Constant that holds the underlying DHT Dermi uses
static java.lang.String VOID
           
 
Constructor Summary
Context()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TIMEOUT

public static final int TIMEOUT
Timeout constant. All timeouts will be consumend once TIMEOUT*DELAY milliseconds have been elapsed

See Also:
Constant Field Values

DELAY

public static final int DELAY
Default delay for synchronous calls

See Also:
Constant Field Values

RETRANSMISSIONS

public static final int RETRANSMISSIONS
Number of event retransmissions in case all timeouts have been consumed

See Also:
Constant Field Values

CLASS_STORE

public static final java.lang.String CLASS_STORE
The name of the constant containing the directory with loadable remote stubs

See Also:
Constant Field Values

CLASS_NAME

public static final java.lang.String CLASS_NAME
The name of the constant containing the name of the Stub class for the properties reference

See Also:
Constant Field Values

CLASS_ID

public static final java.lang.String CLASS_ID
CLASS_ID is the unique identifier assigned to an object server. It is used for all subscriptions related to this object

See Also:
Constant Field Values

DERMI_DOLR_NAMING

public static final java.lang.String DERMI_DOLR_NAMING
DERMI_DOLR_NAMING represents the DERMI naming distributed object location and routing facility

See Also:
Constant Field Values

DERMI_DOLR_UNIQUE_URI

public static final java.lang.String DERMI_DOLR_UNIQUE_URI
DERMI_DOLR_UNIQUE_URI represents the object URI identifier associated to an object

See Also:
Constant Field Values

DERMI_DOLR_CHILDREN

public static final java.lang.String DERMI_DOLR_CHILDREN
DERMI_DOLR_CHILDREN refers to the name of the field containing children objects for any object

See Also:
Constant Field Values

DERMI_DOLR_PARENT

public static final java.lang.String DERMI_DOLR_PARENT
DERMI_DOLR_PARENT refers to the parent of an object (in the naming hierarchy)

See Also:
Constant Field Values

PROVIDER_CLASS

public static final java.lang.String PROVIDER_CLASS
Constant that holds the name of the environment property for specifying configuration information for the class factory provider to use.

See Also:
Constant Field Values

PROVIDER_HOST

public static final java.lang.String PROVIDER_HOST
Constant that holds the name of the environment property for specifying configuration information for the service provider to use.

See Also:
Constant Field Values

PROVIDER_PORT

public static final java.lang.String PROVIDER_PORT
Constant that holds the name of the environment property for specifying configuration information for the port numberof the provider to use.

See Also:
Constant Field Values

PROTOCOL

public static final java.lang.String PROTOCOL
Constant that holds the protocol used by Dermi to communicate between remote nodes

See Also:
Constant Field Values

NETWORK_PROXY

public static final java.lang.String NETWORK_PROXY
See Also:
Constant Field Values

NETWORK_PROXY_PORT

public static final java.lang.String NETWORK_PROXY_PORT
See Also:
Constant Field Values

COMMUNITYID

public static final java.lang.String COMMUNITYID
Constant that holds the community ID for an activator object

See Also:
Constant Field Values

UNDERLYING_DHT

public static final java.lang.String UNDERLYING_DHT
Constant that holds the underlying DHT Dermi uses

See Also:
Constant Field Values

COMPONENT_FILE

public static final java.lang.String COMPONENT_FILE
See Also:
Constant Field Values

COMPONENT_ID

public static final java.lang.String COMPONENT_ID
See Also:
Constant Field Values

ACTIVATABLE

public static final java.lang.String ACTIVATABLE
See Also:
Constant Field Values

PERSISTENT

public static final java.lang.String PERSISTENT
See Also:
Constant Field Values

REPLICATED

public static final java.lang.String REPLICATED
See Also:
Constant Field Values

STATEFUL

public static final java.lang.String STATEFUL
See Also:
Constant Field Values

ACTIVATION_THRESHOLD

public static final java.lang.String ACTIVATION_THRESHOLD
See Also:
Constant Field Values

PASSIVATION_THRESHOLD

public static final java.lang.String PASSIVATION_THRESHOLD
See Also:
Constant Field Values

COMPONENT_URL

public static final java.lang.String COMPONENT_URL
See Also:
Constant Field Values

REMOTE_OBJECT

public static final java.lang.String REMOTE_OBJECT
See Also:
Constant Field Values

INTERFACES

public static final java.lang.String INTERFACES
See Also:
Constant Field Values

INTERFACE

public static final java.lang.String INTERFACE
See Also:
Constant Field Values

IMPLEMENTATION_CLASS

public static final java.lang.String IMPLEMENTATION_CLASS
See Also:
Constant Field Values

IMPLEMENTATION_NAME

public static final java.lang.String IMPLEMENTATION_NAME
See Also:
Constant Field Values

INTERFACE_CLASS

public static final java.lang.String INTERFACE_CLASS
See Also:
Constant Field Values

INTERFACE_NAME

public static final java.lang.String INTERFACE_NAME
See Also:
Constant Field Values

FACTORY_CLASS

public static final java.lang.String FACTORY_CLASS
See Also:
Constant Field Values

FACTORY_NAME

public static final java.lang.String FACTORY_NAME
See Also:
Constant Field Values

OBJECTID

public static final java.lang.String OBJECTID
See Also:
Constant Field Values

TIMESTAMP

public static final java.lang.String TIMESTAMP
See Also:
Constant Field Values

OBJ

public static final java.lang.String OBJ
See Also:
Constant Field Values

OBJECTCONTENT

public static final java.lang.String OBJECTCONTENT
See Also:
Constant Field Values

TYPE

public static final java.lang.String TYPE
See Also:
Constant Field Values

DISPATCH

public static final java.lang.String DISPATCH
See Also:
Constant Field Values

EXCEPTION

public static final java.lang.String EXCEPTION
See Also:
Constant Field Values

METHOD

public static final java.lang.String METHOD
See Also:
Constant Field Values

SOURCE_NODEHANDLE

public static final java.lang.String SOURCE_NODEHANDLE
See Also:
Constant Field Values

RESULT

public static final java.lang.String RESULT
See Also:
Constant Field Values

APPEND_RESULT

public static final java.lang.String APPEND_RESULT
See Also:
Constant Field Values

APPEND_RESULT_DYNAMIC

public static final java.lang.String APPEND_RESULT_DYNAMIC
See Also:
Constant Field Values

VOID

public static final java.lang.String VOID
See Also:
Constant Field Values

DESTINATION_NODEHANDLE

public static final java.lang.String DESTINATION_NODEHANDLE
See Also:
Constant Field Values

INTERCEPTOR_UID

public static final java.lang.String INTERCEPTOR_UID
See Also:
Constant Field Values

ANYCALL_RESULT

public static final java.lang.String ANYCALL_RESULT
See Also:
Constant Field Values

STATUS

public static final java.lang.String STATUS
See Also:
Constant Field Values

MANYCALL

public static final java.lang.String MANYCALL
See Also:
Constant Field Values

REPLICA

public static final java.lang.String REPLICA
See Also:
Constant Field Values

MEMBERSHIP_METAINFO

public static final java.lang.String MEMBERSHIP_METAINFO
See Also:
Constant Field Values

MEMBERSHIP_PERCENTAGE

public static final java.lang.String MEMBERSHIP_PERCENTAGE
See Also:
Constant Field Values

GET_COMPONENT_INSTANCE

public static final java.lang.String GET_COMPONENT_INSTANCE
See Also:
Constant Field Values

HOPPED

public static final java.lang.String HOPPED
See Also:
Constant Field Values

DYNAMIC_HOPPED_CALL

public static final java.lang.String DYNAMIC_HOPPED_CALL
See Also:
Constant Field Values

ACTIVATOR_ID

public static final java.lang.String ACTIVATOR_ID
See Also:
Constant Field Values

CONFIG_FILE

public static final java.lang.String CONFIG_FILE
See Also:
Constant Field Values

PASV_THRESHOLD

public static final int PASV_THRESHOLD
Constant that holds the default passivation threshold for components: If after PASV_THRESHOLD milliseconds, the component has not received any invocations, it will be passivated.

See Also:
Constant Field Values

ACTV_THRESHOLD

public static final int ACTV_THRESHOLD
Constant that holds the default activation threshold for components: If more than ACTV_THRESHOLD invocations are received in a second, a new component instance will be activated in a replica node.

See Also:
Constant Field Values

FREEMEM_THRESHOLD

public static final long FREEMEM_THRESHOLD
Constant that holds the default free memory threshold for component passivation: If less than FREEMEM_THRESHOLD bytes of memory are available in the JVM, the component's instance will be passivated.

See Also:
Constant Field Values

GRANULARITY

public static final java.lang.String GRANULARITY
See Also:
Constant Field Values

SYNCHRONY

public static final java.lang.String SYNCHRONY
See Also:
Constant Field Values

RETRIES

public static final java.lang.String RETRIES
See Also:
Constant Field Values
Constructor Detail

Context

public Context()