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 |
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.
alma.acs.commandcenter.meta.GuiMaciSupervisor.GuiMaciSupervisor | ( | String | clientName, | |
String | managerLoc, | |||
ORB | orb, | |||
Logger | log | |||
) |
void alma.acs.commandcenter.meta.GuiMaciSupervisor.clientDisconnect | ( | ClientInfo | info | ) | throws CorbaTransientException, UnknownErrorException |
Sends a disconnect request to a client.
info | the ClientInfo |
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.
info | the ClientInfo | |
msgType | one of MSG_ERROR, MSG_INFORMATION | |
msg | the message |
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.
info | the ClientInfo |
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.
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.
info | the ContainerInfo | |
msgType | one of MSG_ERROR, MSG_INFORMATION | |
msg | the message |
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.
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.
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.
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 |
Force-release component by name.
NotConnectedToManagerException | ||
NoPermissionEx | ||
CorbaTransientException | ||
CorbaNotExistException | ||
UnknownErrorException | ||
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().
Referenced by alma.acs.commandcenter.gui.DeploymentTree.shieldedForceReleaseComponent().
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.
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.
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 |
Logout Container.
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, and alma.acs.commandcenter.meta.MaciSupervisor.myManagerReference().
Referenced by alma.acs.commandcenter.gui.DeploymentTree.shieldedLogoutClient(), and alma.acs.commandcenter.gui.DeploymentTree.shieldedLogoutContainer().
void alma.acs.commandcenter.meta.GuiMaciSupervisor.managerLogout | ( | ClientInfo | info | ) | throws NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, UnknownErrorException |
Logout Client.
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, and alma.acs.commandcenter.meta.MaciSupervisor.myManagerReference().
void alma.acs.commandcenter.meta.GuiMaciSupervisor.managerPing | ( | ) | throws NotConnectedToManagerException, CorbaTransientException, CorbaNotExistException, UnknownErrorException |
Ping Manager.
NotConnectedToManagerException | ||
CorbaTransientException | ||
CorbaNotExistException | ||
UnknownErrorException |
References alma.acs.commandcenter.meta.MaciSupervisor.getManagerLocation(), alma.acs.commandcenter.meta.MaciSupervisor.ManagerConnectionExceptionHandler.handleExceptionTalkingToManager(), alma.acs.commandcenter.meta.MaciSupervisor.log, alma.acs.commandcenter.meta.MaciSupervisor.mcehandler, and alma.acs.commandcenter.meta.MaciSupervisor.myManagerReference().
Referenced by alma.acs.commandcenter.gui.DeploymentTree.shieldedPingManager().
void alma.acs.commandcenter.meta.GuiMaciSupervisor.managerReleaseComponents | ( | String[] | curls | ) | throws UnknownErrorException, NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, CorbaUnknownException, AcsJCannotDeactivateComponentEx, AcsJComponentDeactivationUncleanEx, AcsJComponentDeactivationFailedEx |
Release components by name.
UnknownErrorException | ||
NotConnectedToManagerException | ||
NoPermissionEx | ||
CorbaTransientException | ||
CorbaNotExistException | ||
CorbaUnknownException |
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().
Referenced by alma.acs.commandcenter.gui.DeploymentTree.shieldedReleaseComponents().
void alma.acs.commandcenter.meta.GuiMaciSupervisor.managerShutdown | ( | ) | throws NotConnectedToManagerException, CorbaNoPermissionException, CorbaTransientException, CorbaNotExistException, UnknownErrorException |
Shutdown Manager.
NotConnectedToManagerException | ||
CorbaNoPermissionException | ||
CorbaTransientException | ||
CorbaNotExistException | ||
UnknownErrorException |
References alma.acs.commandcenter.meta.MaciSupervisor.getManagerLocation(), 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().
Referenced by alma.acs.commandcenter.gui.DeploymentTree.shieldedShutdownManager().