Methods Summary |
---|
public void | activate(java.lang.String serverId)If the server is not running, start it up. This is allowed
whether or not the server has been installed.
|
public java.lang.String[] | getActiveServers()list active servers
|
public java.lang.String[] | getORBNames(java.lang.String serverId)list all registered ORBs for a server
|
public void | install(java.lang.String serverId)Invoke the server install hook. If the server is not
currently running, this method will activate it.
|
public org.omg.PortableInterceptor.ObjectReferenceTemplate | lookupPOATemplate(java.lang.String serverId, java.lang.String orbId, java.lang.String[] orbAdapterName)Find the server template that corresponds to the ORBD's
adapter id.
|
public void | poaDestroyed(java.lang.String serverId, java.lang.String orbId, org.omg.PortableInterceptor.ObjectReferenceTemplate poaTemplate)Called whenever a POA is destroyed.
|
public void | registerORB(java.lang.String serverId, java.lang.String orbId, com.sun.corba.se.PortableActivationIDL.ORBProxy orb, com.sun.corba.se.PortableActivationIDL.EndPointInfo[] endPointInfo)Called whenever an ORB instance is created. This registers
the transport endpoints and the ORB proxy callback object.
Note that we cannot detect when an ORB shuts down, although
all of the POA shutdowns should still be reported.
|
public org.omg.PortableInterceptor.ObjectReferenceTemplate | registerPOA(java.lang.String serverId, java.lang.String orbId, org.omg.PortableInterceptor.ObjectReferenceTemplate poaTemplate)Construct or find an ORBD object template corresponding to the
server's object template and return it. Called whenever a
persistent POA is created.
|
public void | registerServer(java.lang.String serverId, com.sun.corba.se.PortableActivationIDL.ServerProxy serverObj)A new ORB started server registers itself with the Activator
|
public void | serverGoingDown(java.lang.String serverId)A server is shutting down that was started by this activator.
Complete termination of the server is detected by the death of the
process implementing the server.
|
public void | shutdown(java.lang.String serverId)If the server is running, shut it down
|
public void | uninstall(java.lang.String serverId)Invoke the server uninstall hook. If the server is not
currently running, this method will activate it.
After this hook completes, the server may still be running.
|