public class AcsEmbeddedContainerRunner
extends java.lang.Object
See comments for run(AcsCorba, String, String), which is the only method that must be called,
with the required external initializations.
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isEmbedded |
protected AcsCorba |
m_acsCorba |
protected AcsContainer |
m_container |
protected java.lang.String |
m_containerName |
protected AcsLogger |
m_logger |
protected java.lang.String |
m_managerLoc |
protected AcsManagerProxy |
m_managerProxy |
protected java.lang.Boolean |
recoveryModeOverride |
| Constructor and Description |
|---|
AcsEmbeddedContainerRunner()
Constructor to be used by a separate application which needs to create an embedded container.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
createContainer() |
AcsLogger |
getContainerLogger()
Gets the logger used by the container.
|
protected void |
initManagerProxy()
Creates the instance for
m_managerProxy
and calls getManager on it so that the connection
to the manager will be established, without logging in to the manager yet. |
void |
run(AcsCorba acsCorba,
java.lang.String containerName,
java.lang.String managerLoc)
Runs this container using the ORB provided in
acsCorba and returns w/o blocking on the ORB. |
protected AcsLogger m_logger
protected AcsCorba m_acsCorba
protected AcsContainer m_container
protected final boolean isEmbedded
protected final java.lang.Boolean recoveryModeOverride
protected java.lang.String m_containerName
protected java.lang.String m_managerLoc
protected AcsManagerProxy m_managerProxy
public AcsEmbeddedContainerRunner()
public void run(AcsCorba acsCorba, java.lang.String containerName, java.lang.String managerLoc) throws AcsJContainerEx
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.
acsCorba - the shared instance of AcsCorbacontainerName - managerLoc - AcsJContainerServicesEx - at the slightest provocation...AcsJContainerExpublic AcsLogger getContainerLogger()
protected void createContainer()
throws AcsJContainerEx
AcsJContainerExprotected void initManagerProxy()
throws AcsJContainerEx
m_managerProxy
and calls getManager on it so that the connection
to the manager will be established, without logging in to the manager yet.AcsJContainerEx