Package org.jboss.as.ejb3.iiop
Class POARegistry
java.lang.Object
org.jboss.as.ejb3.iiop.POARegistry
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<POARegistry>,org.jboss.msc.value.Value<POARegistry>
Registry that maintains 2 different servant registries
- a
ServantRegistrywith a transient POA per servant; - a
ServantRegistrywith persistent POA per servant.
ServantRegistry instances will receive IIOP invocations.- Author:
- Francisco Reverbel
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byte[]static final org.jboss.msc.service.ServiceNameFields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SERVICE_NAME
public static final org.jboss.msc.service.ServiceName SERVICE_NAME -
EMPTY_BYTES
public static final byte[] EMPTY_BYTES
-
-
Constructor Details
-
POARegistry
public POARegistry()
-
-
Method Details
-
start
public void start(org.jboss.msc.service.StartContext startContext) throws org.jboss.msc.service.StartException - Specified by:
startin interfaceorg.jboss.msc.Service- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context) - Specified by:
stopin interfaceorg.jboss.msc.Service
-
getValue
- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<POARegistry>- Throws:
IllegalStateExceptionIllegalArgumentException
-
getRegistryWithTransientPOAPerServant
-
getRegistryWithPersistentPOAPerServant
-
getRootPOA
public org.jboss.msc.value.InjectedValue<org.omg.PortableServer.POA> getRootPOA()
-