Public Member Functions | Protected Member Functions | Protected Attributes | Package Functions

alma.acs.container.AcsEmbeddedContainerRunner Class Reference

Inherited by alma.acs.commandcenter.engine.ExecuteContainer.CustomAcsEmbeddedContainerRunner.

List of all members.

Public Member Functions

 AcsEmbeddedContainerRunner ()
void run (AcsCorba acsCorba, String containerName, String managerLoc) throws AcsJContainerEx
AcsLogger getContainerLogger ()

Protected Member Functions

void createContainer () throws AcsJContainerEx
void initManagerProxy () throws AcsJContainerEx

Protected Attributes

AcsLogger m_logger
AcsCorba m_acsCorba
AcsContainer m_container
boolean isEmbedded
boolean useRecoveryMode
String m_containerName
String m_managerLoc
AcsManagerProxy m_managerProxy

Package Functions

 AcsEmbeddedContainerRunner (boolean isEmbedded, boolean useRecoveryMode)
void run (AcsCorba acsCorba) throws AcsJContainerEx
AcsContainer getContainer ()
AcsManagerProxy getManagerProxy ()
void checkReadyToRun (String otherMsg) throws AcsJContainerEx
void setContainerName (String name)
void setManagerLoc (String loc)

Detailed Description

Runner for an embedded container, i.e. a container that gets started in the JVM of an ACS-aware application such as the Exec GUI.

See comments for run(AcsCorba, String, String), which is the only method that must be called, with the required external initializations.

Author:
hsommer created Apr 25, 2005 5:55:27 PM

Constructor & Destructor Documentation

alma.acs.container.AcsEmbeddedContainerRunner.AcsEmbeddedContainerRunner (  ) 

Constructor to be used by a separate application which needs to create an embedded container.

alma.acs.container.AcsEmbeddedContainerRunner.AcsEmbeddedContainerRunner ( boolean  isEmbedded,
boolean  useRecoveryMode 
) [package]
Parameters:
isEmbedded false if this runner is not started by a separate application, but merely by some other runner.

Member Function Documentation

void alma.acs.container.AcsEmbeddedContainerRunner.checkReadyToRun ( String  otherMsg  )  throws AcsJContainerEx [package]
void alma.acs.container.AcsEmbeddedContainerRunner.createContainer (  )  throws AcsJContainerEx [protected]
AcsContainer alma.acs.container.AcsEmbeddedContainerRunner.getContainer (  )  [package]
AcsLogger alma.acs.container.AcsEmbeddedContainerRunner.getContainerLogger (  ) 

Gets the logger used by the container. If necessary, creates and initializes the logger.

Returns:
container logger

References alma.acs.container.AcsEmbeddedContainerRunner.m_containerName, and alma.acs.container.AcsEmbeddedContainerRunner.m_logger.

Referenced by alma.acs.container.AcsEmbeddedContainerRunner.run().

AcsManagerProxy alma.acs.container.AcsEmbeddedContainerRunner.getManagerProxy (  )  [package]
void alma.acs.container.AcsEmbeddedContainerRunner.initManagerProxy (  )  throws AcsJContainerEx [protected]
void alma.acs.container.AcsEmbeddedContainerRunner.run ( AcsCorba  acsCorba  )  throws AcsJContainerEx [package]
void alma.acs.container.AcsEmbeddedContainerRunner.run ( AcsCorba  acsCorba,
String  containerName,
String  managerLoc 
) throws AcsJContainerEx

Runs this container using the ORB provided in acsCorba and returns w/o blocking on the ORB. It is assumed that acsCorba is initialized, and that the singleton ClientLogManager has been or will be initialized for remote logging outside of this method.

Note on the implementation: the steps involved are grouped as private methods that access the instance variables. The intent was to make the sequence clearer.

Parameters:
acsCorba the shared instance of AcsCorba
containerName 
managerLoc 
Exceptions:
AcsJContainerServicesEx at the slightest provocation...

References alma.acs.container.AcsEmbeddedContainerRunner.setContainerName(), and alma.acs.container.AcsEmbeddedContainerRunner.setManagerLoc().

void alma.acs.container.AcsEmbeddedContainerRunner.setContainerName ( String  name  )  [package]
void alma.acs.container.AcsEmbeddedContainerRunner.setManagerLoc ( String  loc  )  [package]

Member Data Documentation


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