Novell exteNd Messaging Platform 5.2

com.sssw.jbroker.api.activation
Interface ActivationSystem

All Superinterfaces:
Remote
All Known Implementing Classes:
_ActivationSystem_Stub, ActivationSystemPOA, ActivationSystemPOATie

public interface ActivationSystem
extends Remote

Activation System provides means for registering, unregistering, activating, deactivating, and enumerating active/registered servers.


Method Summary
 String[] getActiveServers()
          Get a list of all the Servers that are running.
 String[] getRegisteredServers()
          Get a list of all the registerd Servers.
 ServerDesc getServerDesc(String alias)
          Get the Server Descriptor for the given Server Alias.
 void registerServer(ServerDesc serverDesc)
          Register a Server with the given Server Descriptor.
 ServerDesc setServerDesc(ServerDesc serverDesc)
          Change the Server Descriptor.
 void shutdown(boolean wait_for_completion)
          Shutdown the activation system.
 void shutdownServer(String alias)
          Shutdown an active Server.
 void startServer(String alias)
          Start a previously registered server.
 void unregisterServer(String alias)
          Unregister the server with the given Alias.
 

Method Detail

registerServer

public void registerServer(ServerDesc serverDesc)
                    throws ActivationException,
                           RemoteException
Register a Server with the given Server Descriptor.

Throws:
ActivationException
RemoteException

unregisterServer

public void unregisterServer(String alias)
                      throws ActivationException,
                             RemoteException
Unregister the server with the given Alias.

Throws:
ActivationException
RemoteException

startServer

public void startServer(String alias)
                 throws ActivationException,
                        RemoteException
Start a previously registered server.

Throws:
ActivationException
RemoteException

shutdownServer

public void shutdownServer(String alias)
                    throws ActivationException,
                           RemoteException
Shutdown an active Server.

Throws:
ActivationException
RemoteException

getServerDesc

public ServerDesc getServerDesc(String alias)
                         throws ActivationException,
                                RemoteException
Get the Server Descriptor for the given Server Alias.

Throws:
ActivationException
RemoteException

setServerDesc

public ServerDesc setServerDesc(ServerDesc serverDesc)
                         throws ActivationException,
                                RemoteException
Change the Server Descriptor. The change will take effect upon subsequent activation.

Throws:
ActivationException
RemoteException

getRegisteredServers

public String[] getRegisteredServers()
                              throws RemoteException
Get a list of all the registerd Servers.

Throws:
RemoteException

getActiveServers

public String[] getActiveServers()
                          throws RemoteException
Get a list of all the Servers that are running.

Throws:
RemoteException

shutdown

public void shutdown(boolean wait_for_completion)
              throws RemoteException
Shutdown the activation system. Destroys all servers spawned by the activation daemon and exits the activation daemon. The wait for completion flag is passed to the object adapters so that they can wait for all the currently executing requests.

Throws:
RemoteException

Novell exteNd Messaging Platform 5.2

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2004 Novell, Inc. All Rights Reserved.