Public Member Functions

alma.acs.commandcenter.meta.GuiMaciSupervisor Class Reference

Inheritance diagram for alma.acs.commandcenter.meta.GuiMaciSupervisor:
alma.acs.commandcenter.meta.MaciSupervisor alma.acs.commandcenter.meta.IMaciSupervisor

List of all members.

Public Member Functions

 GuiMaciSupervisor (String clientName, String managerLoc, ORB orb, Logger log)
void managerPing () throws NotConnectedToManagerException, CorbaTransientException, CorbaNotExistException, UnknownErrorException
void managerShutdown () throws NotConnectedToManagerException, CorbaNoPermissionException, CorbaTransientException, CorbaNotExistException, UnknownErrorException
void managerLogout (ContainerInfo info) throws NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, UnknownErrorException
void managerLogout (ClientInfo info) throws NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, UnknownErrorException
org.omg.CORBA.Object managerGetComponent (String curl) throws ComponentNotAlreadyActivatedEx, CannotGetComponentEx, ComponentConfigurationNotFoundEx, NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, UnknownErrorException
org.omg.CORBA.Object managerGetComponentNonSticky (String curl) throws ComponentNotAlreadyActivatedEx, CannotGetComponentEx, NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, UnknownErrorException
void managerReleaseComponents (String[] curls) throws UnknownErrorException, NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, CorbaUnknownException, AcsJCannotDeactivateComponentEx, AcsJComponentDeactivationUncleanEx, AcsJComponentDeactivationFailedEx
void managerForceReleaseComponent (String curl) throws NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, UnknownErrorException
void containerDisconnect (ContainerInfo info) throws CorbaTransientException, UnknownErrorException
void containerPing (ContainerInfo info) throws CorbaTransientException, UnknownErrorException
void containerShutdown (ContainerInfo info) throws CorbaTransientException, UnknownErrorException
void containerMessage (ContainerInfo info, short msgType, String msg) throws CorbaTransientException, UnknownErrorException
void containersShutdown () throws CorbaTransientException, UnknownErrorException
void clientDisconnect (ClientInfo info) throws CorbaTransientException, UnknownErrorException
void clientPing (ClientInfo info) throws CorbaTransientException, UnknownErrorException
void clientMessage (ClientInfo info, short msgType, String msg) throws CorbaTransientException, UnknownErrorException

Detailed Description

This MaciSupervisor sub class is particularly suitable for Guis like the DeploymentTree, it offers various convenience methods that do not exist in the standard MaciSupervisor.

Like the standard MaciSupervisor it translates various unchecked exceptions (= RuntimeExceptions) coming from the Orb into checked exceptions so a client of this class knows what it has to handle.

Author:
mschilli

Constructor & Destructor Documentation

alma.acs.commandcenter.meta.GuiMaciSupervisor.GuiMaciSupervisor ( String  clientName,
String  managerLoc,
ORB  orb,
Logger  log 
)

Member Function Documentation

void alma.acs.commandcenter.meta.GuiMaciSupervisor.clientDisconnect ( ClientInfo  info  )  throws CorbaTransientException, UnknownErrorException

Sends a disconnect request to a client.

Parameters:
info the ClientInfo
Exceptions:
CorbaTransientException 
UnknownErrorException 

References alma.acs.commandcenter.meta.MaciSupervisor.log.

void alma.acs.commandcenter.meta.GuiMaciSupervisor.clientMessage ( ClientInfo  info,
short  msgType,
String  msg 
) throws CorbaTransientException, UnknownErrorException

Sends a message to a client.

Parameters:
info the ClientInfo
msgType one of MSG_ERROR, MSG_INFORMATION
msg the message
Exceptions:
CorbaTransientException 
UnknownErrorException 

References alma.acs.commandcenter.meta.MaciSupervisor.log.

void alma.acs.commandcenter.meta.GuiMaciSupervisor.clientPing ( ClientInfo  info  )  throws CorbaTransientException, UnknownErrorException

Sends a ping request to a client.

Parameters:
info the ClientInfo
Exceptions:
CorbaTransientException 
UnknownErrorException 

References alma.acs.commandcenter.meta.MaciSupervisor.log.

void alma.acs.commandcenter.meta.GuiMaciSupervisor.containerDisconnect ( ContainerInfo  info  )  throws CorbaTransientException, UnknownErrorException

Sends a disconnect request to a container.

Exceptions:
CorbaTransientException 
UnknownErrorException 

References alma.acs.commandcenter.meta.MaciSupervisor.log.

void alma.acs.commandcenter.meta.GuiMaciSupervisor.containerMessage ( ContainerInfo  info,
short  msgType,
String  msg 
) throws CorbaTransientException, UnknownErrorException

Sends a message to a container.

Parameters:
info the ContainerInfo
msgType one of MSG_ERROR, MSG_INFORMATION
msg the message
Exceptions:
CorbaTransientException 
UnknownErrorException 

References alma.acs.commandcenter.meta.MaciSupervisor.log.

void alma.acs.commandcenter.meta.GuiMaciSupervisor.containerPing ( ContainerInfo  info  )  throws CorbaTransientException, UnknownErrorException

Sends a ping request to a container.

Exceptions:
CorbaTransientException 
UnknownErrorException 

References alma.acs.commandcenter.meta.MaciSupervisor.log.

void alma.acs.commandcenter.meta.GuiMaciSupervisor.containerShutdown ( ContainerInfo  info  )  throws CorbaTransientException, UnknownErrorException

Sends a shutdown request to a container. Note that the request is asynchronous: when this method returns the container is likely to not have terminated yet.

Exceptions:
CorbaTransientException 
UnknownErrorException 

References alma.acs.commandcenter.meta.MaciSupervisor.log.

Referenced by alma.acs.commandcenter.meta.GuiMaciSupervisor.containersShutdown().

void alma.acs.commandcenter.meta.GuiMaciSupervisor.containersShutdown (  )  throws CorbaTransientException, UnknownErrorException

Sends a shutdown request to every container. Note that the request is asynchronous: when this method returns the container is likely to not have terminated yet.

Exceptions:
UnknownErrorException 
CorbaTransientException 

References alma.acs.commandcenter.meta.GuiMaciSupervisor.containerShutdown(), alma.acs.commandcenter.meta.MaciInfo.getContainers(), and alma.acs.commandcenter.meta.MaciSupervisor.maciInfo.

void alma.acs.commandcenter.meta.GuiMaciSupervisor.managerForceReleaseComponent ( String  curl  )  throws NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, UnknownErrorException
org.omg.CORBA.Object alma.acs.commandcenter.meta.GuiMaciSupervisor.managerGetComponent ( String  curl  )  throws ComponentNotAlreadyActivatedEx, CannotGetComponentEx, ComponentConfigurationNotFoundEx, NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, UnknownErrorException

Retrieve Component by name.

Returns:
a component
Exceptions:
ComponentConfigurationNotFoundEx 
CannotGetComponentEx 
ComponentNotAlreadyActivatedEx 
NotConnectedToManagerException 
NoPermissionEx 
CorbaTransientException 
CorbaNotExistException 
UnknownErrorException 

References alma.acs.commandcenter.meta.MaciSupervisor.ManagerConnectionExceptionHandler.handleExceptionTalkingToManager(), alma.acs.commandcenter.meta.MaciSupervisor.log, alma.acs.commandcenter.meta.MaciSupervisor.mcehandler, alma.acs.commandcenter.meta.MaciSupervisor.myMaciHandle(), and alma.acs.commandcenter.meta.MaciSupervisor.myManagerReference().

org.omg.CORBA.Object alma.acs.commandcenter.meta.GuiMaciSupervisor.managerGetComponentNonSticky ( String  curl  )  throws ComponentNotAlreadyActivatedEx, CannotGetComponentEx, NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, UnknownErrorException

Retrieve Component by name, non-sticky.

Returns:
a component
Exceptions:
ComponentNotAlreadyActivatedEx 
CannotGetComponentEx 
NotConnectedToManagerException 
NoPermissionEx 
CorbaTransientException 
CorbaNotExistException 
UnknownErrorException 

References alma.acs.commandcenter.meta.MaciSupervisor.ManagerConnectionExceptionHandler.handleExceptionTalkingToManager(), alma.acs.commandcenter.meta.MaciSupervisor.log, alma.acs.commandcenter.meta.MaciSupervisor.mcehandler, alma.acs.commandcenter.meta.MaciSupervisor.myMaciHandle(), and alma.acs.commandcenter.meta.MaciSupervisor.myManagerReference().

void alma.acs.commandcenter.meta.GuiMaciSupervisor.managerLogout ( ContainerInfo  info  )  throws NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, UnknownErrorException
void alma.acs.commandcenter.meta.GuiMaciSupervisor.managerLogout ( ClientInfo  info  )  throws NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, UnknownErrorException
void alma.acs.commandcenter.meta.GuiMaciSupervisor.managerPing (  )  throws NotConnectedToManagerException, CorbaTransientException, CorbaNotExistException, UnknownErrorException
void alma.acs.commandcenter.meta.GuiMaciSupervisor.managerReleaseComponents ( String[]  curls  )  throws UnknownErrorException, NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, CorbaUnknownException, AcsJCannotDeactivateComponentEx, AcsJComponentDeactivationUncleanEx, AcsJComponentDeactivationFailedEx
void alma.acs.commandcenter.meta.GuiMaciSupervisor.managerShutdown (  )  throws NotConnectedToManagerException, CorbaNoPermissionException, CorbaTransientException, CorbaNotExistException, UnknownErrorException

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties