Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.rmi.activation
Class ActivationGroupDesc  view ActivationGroupDesc download ActivationGroupDesc.java

java.lang.Object
  extended byjava.rmi.activation.ActivationGroupDesc
All Implemented Interfaces:
java.io.Serializable

public final class ActivationGroupDesc
extends java.lang.Object
implements java.io.Serializable

Contains information, necessary to create of recreate the activation objects. The group descriptor contains:

The groups are created by the ActivationGroup.createGroup(java.rmi.activation.ActivationGroupID, java.rmi.activation.ActivationGroupDesc, long) 55 method that expectes the group class to have the two parameter constructor, the first parameter being the ActivationGroupID and the second the java.rmi.MarshalledObject.


Nested Class Summary
static class ActivationGroupDesc.CommandEnvironment
          Contains the startup options for the ActivationGroup implementations.
 
Field Summary
(package private)  java.lang.String className
          The group class name or null for the default group class implementation.
(package private)  java.rmi.MarshalledObject data
          The group initialization data.
(package private)  ActivationGroupDesc.CommandEnvironment env
          The path to the group jre and the parameters of this jre, may be null for the default jre.
(package private)  long hash
          The cached hash code.
(package private)  java.lang.String location
          The group class download location URL (codebase), ignored by the default implementation.
(package private)  java.util.Properties props
          The properties that override the system properties.
(package private) static long serialVersionUID
          Use the SVUID for interoperability.
 
Constructor Summary
ActivationGroupDesc(java.util.Properties aProperties, ActivationGroupDesc.CommandEnvironment environment)
          Create the new activation group descriptor that will use the default activation group implementation with the given properties and environment.
ActivationGroupDesc(java.lang.String aClassName, java.lang.String aLocation, java.rmi.MarshalledObject aData, java.util.Properties aProperties, ActivationGroupDesc.CommandEnvironment environment)
          Create the new activation group descriptor.
 
Method Summary
(package private) static boolean eq(java.lang.Object a, java.lang.Object b)
          Compare for direct equality if one or both parameters are null, otherwise call .equals.
 boolean equals(java.lang.Object obj)
          Compare for the content equality.
 java.lang.String getClassName()
          Get the activation group class name.
 ActivationGroupDesc.CommandEnvironment getCommandEnvironment()
          Get the group command environment, containing path to the jre executable and startup options.
 java.rmi.MarshalledObject getData()
          Get the group intialization data.
 java.lang.String getLocation()
          Get the location, from where the group class will be loaded
 java.util.Properties getPropertyOverrides()
          Get the overridded system properties.
 int hashCode()
          Return the hashcode.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
Use the SVUID for interoperability.

See Also:
Constant Field Values

className

final java.lang.String className
The group class name or null for the default group class implementation.


location

final java.lang.String location
The group class download location URL (codebase), ignored by the default implementation.


data

final java.rmi.MarshalledObject data
The group initialization data.


env

final ActivationGroupDesc.CommandEnvironment env
The path to the group jre and the parameters of this jre, may be null for the default jre.


props

final java.util.Properties props
The properties that override the system properties.


hash

transient long hash
The cached hash code.

Constructor Detail

ActivationGroupDesc

public ActivationGroupDesc(java.util.Properties aProperties,
                           ActivationGroupDesc.CommandEnvironment environment)
Create the new activation group descriptor that will use the default activation group implementation with the given properties and environment.


ActivationGroupDesc

public ActivationGroupDesc(java.lang.String aClassName,
                           java.lang.String aLocation,
                           java.rmi.MarshalledObject aData,
                           java.util.Properties aProperties,
                           ActivationGroupDesc.CommandEnvironment environment)
Create the new activation group descriptor.

Method Detail

getClassName

public java.lang.String getClassName()
Get the activation group class name.


getLocation

public java.lang.String getLocation()
Get the location, from where the group class will be loaded


getData

public java.rmi.MarshalledObject getData()
Get the group intialization data.


getPropertyOverrides

public java.util.Properties getPropertyOverrides()
Get the overridded system properties.


getCommandEnvironment

public ActivationGroupDesc.CommandEnvironment getCommandEnvironment()
Get the group command environment, containing path to the jre executable and startup options.


equals

public boolean equals(java.lang.Object obj)
Compare for the content equality.


eq

static boolean eq(java.lang.Object a,
                  java.lang.Object b)
Compare for direct equality if one or both parameters are null, otherwise call .equals.


hashCode

public int hashCode()
Return the hashcode.