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

Quick Search    Search Deep

gnu.classpath.tools.rmi.rmid
Class ActivationSystemImpl_Stub  view ActivationSystemImpl_Stub download ActivationSystemImpl_Stub.java

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteStub
          extended bygnu.classpath.tools.rmi.rmid.ActivationSystemImpl_Stub
All Implemented Interfaces:
java.rmi.activation.ActivationMonitor, java.rmi.activation.ActivationSystem, java.rmi.activation.Activator, java.rmi.Remote, java.io.Serializable

public final class ActivationSystemImpl_Stub
extends java.rmi.server.RemoteStub
implements java.rmi.activation.ActivationMonitor, java.rmi.activation.Activator, java.rmi.activation.ActivationSystem

This class delegates its method calls to the remote RMI object, referenced by java.rmi.server.RemoteRef. It is normally generated with rmic.


Field Summary
private static java.lang.String exception_message
          The explaining message for .
private static java.lang.reflect.Method met_activate
           
private static java.lang.reflect.Method met_activeGroup
           
private static java.lang.reflect.Method met_activeObject
           
private static java.lang.reflect.Method met_getActivationDesc
           
private static java.lang.reflect.Method met_getActivationGroupDesc
           
private static java.lang.reflect.Method met_inactiveGroup
           
private static java.lang.reflect.Method met_inactiveObject
           
private static java.lang.reflect.Method met_registerGroup
           
private static java.lang.reflect.Method met_registerObject
           
private static java.lang.reflect.Method met_setActivationDesc
           
private static java.lang.reflect.Method met_setActivationGroupDesc
           
private static java.lang.reflect.Method met_shutdown
           
private static java.lang.reflect.Method met_unregisterGroup
           
private static java.lang.reflect.Method met_unregisterObject
           
private static java.lang.Object[] NO_ARGS
           
private static long serialVersionUID
          Use serialVersionUID for interoperability
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Fields inherited from interface java.rmi.activation.ActivationSystem
SYSTEM_PORT
 
Constructor Summary
ActivationSystemImpl_Stub(java.rmi.server.RemoteRef reference)
          Create the instance for _ActivationSystemImpl_Stub that forwards method calls to the remote object.
 
Method Summary
 java.rmi.MarshalledObject activate(java.rmi.activation.ActivationID p0, boolean p1)
          Activate the object, associated with the given activation identifier.
 java.rmi.activation.ActivationMonitor activeGroup(java.rmi.activation.ActivationGroupID p0, java.rmi.activation.ActivationInstantiator p1, long p2)
          This method is called from the ActivationGroup to inform the ActivatinSystem that the group is now active and there is the java.rmi.activation.ActivationInstantiator for that group.
 void activeObject(java.rmi.activation.ActivationID p0, java.rmi.MarshalledObject p1)
          Informs that the object is now active.
 java.rmi.activation.ActivationDesc getActivationDesc(java.rmi.activation.ActivationID p0)
          Get the activation descriptor for the object with the given activation id.
 java.rmi.activation.ActivationGroupDesc getActivationGroupDesc(java.rmi.activation.ActivationGroupID p0)
          Get the group descriptor for the group with the given id.
 void inactiveGroup(java.rmi.activation.ActivationGroupID p0, long p1)
          Informs that the whole group is now inactive because all group objects are inactive.
 void inactiveObject(java.rmi.activation.ActivationID p0)
          Informs that the object is not inactive.
 java.rmi.activation.ActivationGroupID registerGroup(java.rmi.activation.ActivationGroupDesc p0)
          Register the new activation group.
 java.rmi.activation.ActivationID registerObject(java.rmi.activation.ActivationDesc p0)
          Registers the activation descriptor and creates (and returns) its activation identifier.
 java.rmi.activation.ActivationDesc setActivationDesc(java.rmi.activation.ActivationID p0, java.rmi.activation.ActivationDesc p1)
          Replace the activation descriptor for the object with the given activation id.
 java.rmi.activation.ActivationGroupDesc setActivationGroupDesc(java.rmi.activation.ActivationGroupID p0, java.rmi.activation.ActivationGroupDesc p1)
          Replaces the group descriptor for the group with the given group activation id.
 void shutdown()
          Shutdown the activation system and all associated activation groups
 void unregisterGroup(java.rmi.activation.ActivationGroupID p0)
          Removes the activation group with the given identifier.
 void unregisterObject(java.rmi.activation.ActivationID p0)
          Removes the stored identifier-description map entry.
 
Methods inherited from class java.rmi.server.RemoteStub
setRef
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Use serialVersionUID for interoperability

See Also:
Constant Field Values

exception_message

private static final java.lang.String exception_message
The explaining message for .

See Also:
Constant Field Values

met_setActivationGroupDesc

private static final java.lang.reflect.Method met_setActivationGroupDesc

met_inactiveGroup

private static final java.lang.reflect.Method met_inactiveGroup

met_unregisterObject

private static final java.lang.reflect.Method met_unregisterObject

met_getActivationDesc

private static final java.lang.reflect.Method met_getActivationDesc

met_setActivationDesc

private static final java.lang.reflect.Method met_setActivationDesc

met_shutdown

private static final java.lang.reflect.Method met_shutdown

met_activate

private static final java.lang.reflect.Method met_activate

met_activeGroup

private static final java.lang.reflect.Method met_activeGroup

met_registerGroup

private static final java.lang.reflect.Method met_registerGroup

met_getActivationGroupDesc

private static final java.lang.reflect.Method met_getActivationGroupDesc

met_activeObject

private static final java.lang.reflect.Method met_activeObject

met_registerObject

private static final java.lang.reflect.Method met_registerObject

met_inactiveObject

private static final java.lang.reflect.Method met_inactiveObject

met_unregisterGroup

private static final java.lang.reflect.Method met_unregisterGroup

NO_ARGS

private static final java.lang.Object[] NO_ARGS
Constructor Detail

ActivationSystemImpl_Stub

public ActivationSystemImpl_Stub(java.rmi.server.RemoteRef reference)
Create the instance for _ActivationSystemImpl_Stub that forwards method calls to the remote object.

Method Detail

setActivationGroupDesc

public java.rmi.activation.ActivationGroupDesc setActivationGroupDesc(java.rmi.activation.ActivationGroupID p0,
                                                                      java.rmi.activation.ActivationGroupDesc p1)
                                                               throws java.rmi.activation.ActivationException,
                                                                      java.rmi.activation.UnknownGroupException,
                                                                      java.rmi.RemoteException
Description copied from interface: java.rmi.activation.ActivationSystem
Replaces the group descriptor for the group with the given group activation id.

Specified by:
setActivationGroupDesc in interface java.rmi.activation.ActivationSystem

inactiveGroup

public void inactiveGroup(java.rmi.activation.ActivationGroupID p0,
                          long p1)
                   throws java.rmi.activation.UnknownGroupException,
                          java.rmi.RemoteException
Description copied from interface: java.rmi.activation.ActivationMonitor
Informs that the whole group is now inactive because all group objects are inactive. The group will be recreated upon the later request to activate any object, belonging to the group.

Specified by:
inactiveGroup in interface java.rmi.activation.ActivationMonitor

unregisterObject

public void unregisterObject(java.rmi.activation.ActivationID p0)
                      throws java.rmi.activation.ActivationException,
                             java.rmi.activation.UnknownObjectException,
                             java.rmi.RemoteException
Description copied from interface: java.rmi.activation.ActivationSystem
Removes the stored identifier-description map entry. The object will no longer be activable using the passed activation id

Specified by:
unregisterObject in interface java.rmi.activation.ActivationSystem

getActivationDesc

public java.rmi.activation.ActivationDesc getActivationDesc(java.rmi.activation.ActivationID p0)
                                                     throws java.rmi.activation.ActivationException,
                                                            java.rmi.activation.UnknownObjectException,
                                                            java.rmi.RemoteException
Description copied from interface: java.rmi.activation.ActivationSystem
Get the activation descriptor for the object with the given activation id.

Specified by:
getActivationDesc in interface java.rmi.activation.ActivationSystem

setActivationDesc

public java.rmi.activation.ActivationDesc setActivationDesc(java.rmi.activation.ActivationID p0,
                                                            java.rmi.activation.ActivationDesc p1)
                                                     throws java.rmi.activation.ActivationException,
                                                            java.rmi.activation.UnknownObjectException,
                                                            java.rmi.activation.UnknownGroupException,
                                                            java.rmi.RemoteException
Description copied from interface: java.rmi.activation.ActivationSystem
Replace the activation descriptor for the object with the given activation id.

Specified by:
setActivationDesc in interface java.rmi.activation.ActivationSystem

shutdown

public void shutdown()
              throws java.rmi.RemoteException
Description copied from interface: java.rmi.activation.ActivationSystem
Shutdown the activation system and all associated activation groups

Specified by:
shutdown in interface java.rmi.activation.ActivationSystem

activate

public java.rmi.MarshalledObject activate(java.rmi.activation.ActivationID p0,
                                          boolean p1)
                                   throws java.rmi.activation.ActivationException,
                                          java.rmi.activation.UnknownObjectException,
                                          java.rmi.RemoteException
Description copied from interface: java.rmi.activation.Activator
Activate the object, associated with the given activation identifier. The activator looks for the java.rmi.activation.ActivationDescriptor for the passed identifier, determines the object activation group and initiates object recreation either via java.rmi.activation.ActivationInstantiator or via Class.newInstance()>Class.newInstance() 55 .

Specified by:
activate in interface java.rmi.activation.Activator

activeGroup

public java.rmi.activation.ActivationMonitor activeGroup(java.rmi.activation.ActivationGroupID p0,
                                                         java.rmi.activation.ActivationInstantiator p1,
                                                         long p2)
                                                  throws java.rmi.activation.UnknownGroupException,
                                                         java.rmi.activation.ActivationException,
                                                         java.rmi.RemoteException
Description copied from interface: java.rmi.activation.ActivationSystem
This method is called from the java.rmi.activation.ActivationGroup to inform the ActivatinSystem that the group is now active and there is the java.rmi.activation.ActivationInstantiator for that group. This call is made internally from the ActivationGroup.createGroup(java.rmi.activation.ActivationGroupID, java.rmi.activation.ActivationGroupDesc, long)>ActivationGroup.createGroup(java.rmi.activation.ActivationGroupID, java.rmi.activation.ActivationGroupDesc, long) 55 .

Specified by:
activeGroup in interface java.rmi.activation.ActivationSystem

registerGroup

public java.rmi.activation.ActivationGroupID registerGroup(java.rmi.activation.ActivationGroupDesc p0)
                                                    throws java.rmi.activation.ActivationException,
                                                           java.rmi.RemoteException
Description copied from interface: java.rmi.activation.ActivationSystem
Register the new activation group. For instance, it can be one activation group per virtual machine.

Specified by:
registerGroup in interface java.rmi.activation.ActivationSystem

getActivationGroupDesc

public java.rmi.activation.ActivationGroupDesc getActivationGroupDesc(java.rmi.activation.ActivationGroupID p0)
                                                               throws java.rmi.activation.ActivationException,
                                                                      java.rmi.activation.UnknownGroupException,
                                                                      java.rmi.RemoteException
Description copied from interface: java.rmi.activation.ActivationSystem
Get the group descriptor for the group with the given id.

Specified by:
getActivationGroupDesc in interface java.rmi.activation.ActivationSystem

activeObject

public void activeObject(java.rmi.activation.ActivationID p0,
                         java.rmi.MarshalledObject p1)
                  throws java.rmi.activation.UnknownObjectException,
                         java.rmi.RemoteException
Description copied from interface: java.rmi.activation.ActivationMonitor
Informs that the object is now active.

Specified by:
activeObject in interface java.rmi.activation.ActivationMonitor

registerObject

public java.rmi.activation.ActivationID registerObject(java.rmi.activation.ActivationDesc p0)
                                                throws java.rmi.activation.ActivationException,
                                                       java.rmi.activation.UnknownGroupException,
                                                       java.rmi.RemoteException
Description copied from interface: java.rmi.activation.ActivationSystem
Registers the activation descriptor and creates (and returns) its activation identifier. The map entry (identifier to descriptor) is stored in the stable map and used when the java.rmi.activation.Activator receives the request to activate the object.

Specified by:
registerObject in interface java.rmi.activation.ActivationSystem

inactiveObject

public void inactiveObject(java.rmi.activation.ActivationID p0)
                    throws java.rmi.activation.UnknownObjectException,
                           java.rmi.RemoteException
Description copied from interface: java.rmi.activation.ActivationMonitor
Informs that the object is not inactive.

Specified by:
inactiveObject in interface java.rmi.activation.ActivationMonitor

unregisterGroup

public void unregisterGroup(java.rmi.activation.ActivationGroupID p0)
                     throws java.rmi.activation.ActivationException,
                            java.rmi.activation.UnknownGroupException,
                            java.rmi.RemoteException
Description copied from interface: java.rmi.activation.ActivationSystem
Removes the activation group with the given identifier. The group calls back, informing the activator about the shutdown.

Specified by:
unregisterGroup in interface java.rmi.activation.ActivationSystem