com.iona.corbautil
Class PoaUtilityOrbacusImpl

java.lang.Object
  |
  +--com.iona.corbautil.PoaUtility
        |
        +--com.iona.corbautil.PoaUtilityPortableImpl
              |
              +--com.iona.corbautil.PoaUtilityOrbacusImpl

public class PoaUtilityOrbacusImpl
extends PoaUtilityPortableImpl

ORBacus-specific class that simplifies the construction of POA hierarchies. An instance of this class is created by calling PoaUtility.init(), subject to system properties having appropriate values.


Field Summary
 
Fields inherited from class com.iona.corbautil.PoaUtilityPortableImpl
m_orb
 
Fields inherited from class com.iona.corbautil.PoaUtility
FIXED_PORTS_NO_IMR, FIXED_PORTS_WITH_IMR, RANDOM_PORTS_NO_IMR, RANDOM_PORTS_WITH_IMR
 
Constructor Summary
PoaUtilityOrbacusImpl(org.omg.CORBA.ORB orb, int deployModel)
          This constructor is not intended to be called by "normal" user code.
 
Method Summary
 com.iona.corbautil.LabelledPOAManager createPoaManager(java.lang.String label)
          Create a POA Manager.
 
Methods inherited from class com.iona.corbautil.PoaUtilityPortableImpl
createPoa, createPolicy, deployModel, firstPoaMgr, firstPoaMgr, orb, root
 
Methods inherited from class com.iona.corbautil.PoaUtility
init, stringToDeploymentModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoaUtilityOrbacusImpl

public PoaUtilityOrbacusImpl(org.omg.CORBA.ORB orb,
                             int deployModel)
                      throws PoaUtilityException
This constructor is not intended to be called by "normal" user code. Instead, it is called by PoaUtility.init(), subject to system properties.

Parameters:
orb - The ORB.
Method Detail

createPoaManager

public com.iona.corbautil.LabelledPOAManager createPoaManager(java.lang.String label)
                                                       throws PoaUtilityException
Create a POA Manager.

Overrides:
createPoaManager in class PoaUtilityPortableImpl
Parameters:
label - A label (name) that is to be associated with the newly created POA Manager. If one of the "fixed port" deployment models is used then ORBacus-specific entries in a runtime configuration file are used to specify on which fixed port the POA Manager listens.
Returns:
The newly created POA manager.
PoaUtilityException