The com.sssw.jbroker.api.activation.ActivationSystem
is the API to the ORB's server activation functionality.
The ActivationSystem object runs inside jorbd, the ORB
Daemon. It can be accessed using the orb.resolve_initial_reference
API or the Initial References Service (IRS).
ActivationSystem system = (ActivationSystem)
orb.resolve_initial_references("ActivationSystem");
The jorbd by default runs on port number 2506.
Here are the methods on the Activation System.
| Register Server | register a new server with the activation system | void registerServer(ServerDesc serverDesc)
throws ActivationException, RemoteException; |
| Unregister Server | unregister a previously registered server | void unregisterServer(String alias)
throws ActivationException, RemoteException; |
| Start Server | if not already running start a previously registed server | void startServer(String alias)
throws ActivationException, RemoteException; |
| Shutdown Server | shutdown an active server | void shutdownServer(String alias)
throws ActivationException, RemoteException; |
| List Registered
Servers |
get the aliases of all the servers that are registered with the activation system | String[]
getRegisteredServers()
throws RemoteException; |
| Get Server
Descriptor |
get the descriptor for a registered server | ServerDesc getServerDesc(String alias)
throws ActivationException, RemoteException; |
| Change Server Descriptor | change the server descriptor for an already registered server | ServerDesc setServerDesc(ServerDesc serverDesc)
throws ActivationException, RemoteException; |
| Get Active Servers | get the aliases of all the servers that are active | String[]
getActiveServers()
throws RemoteException; |
| Shutdown Activation System | shutdown the activation system | void shutdown(boolean
wait_for_completion)
throws RemoteException; |
Copyright © 2003, 2004 Novell, Inc. All rights reserved. Copyright © 2001, 2002, 2003 SilverStream Software, LLC. All rights reserved.