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)
The jorbd by default runs on port number 2506.
orb.resolve_initial_references("ActivationSystem");Here are the methods on the Activation System.
API Description Signature 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
Serversget the aliases of all the servers that are registered with the activation system String[] getRegisteredServers()
throws RemoteException;Get Server
Descriptorget 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 © 1998-2003, Novell, Inc. All rights reserved.