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>
public class POARegistry extends Object implements org.jboss.msc.service.Service<POARegistry>
Registry that maintains 2 different servant registries- a
ServantRegistrywith a transient POA per servant; - a
ServantRegistrywith persistent POA per servant.
ServantRegistryinstances will receive IIOP invocations.- Author:
- Francisco Reverbel
-
-
Field Summary
Fields Modifier and Type Field Description static byte[]EMPTY_BYTESstatic org.jboss.msc.service.ServiceNameSERVICE_NAME
-
Constructor Summary
Constructors Constructor Description POARegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServantRegistrygetRegistryWithPersistentPOAPerServant()ServantRegistrygetRegistryWithTransientPOAPerServant()org.jboss.msc.value.InjectedValue<org.omg.PortableServer.POA>getRootPOA()POARegistrygetValue()voidstart(org.jboss.msc.service.StartContext startContext)voidstop(org.jboss.msc.service.StopContext context)
-
-
-
Method Detail
-
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
public POARegistry getValue() throws IllegalStateException, IllegalArgumentException
- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<POARegistry>- Throws:
IllegalStateExceptionIllegalArgumentException
-
getRegistryWithTransientPOAPerServant
public ServantRegistry getRegistryWithTransientPOAPerServant()
-
getRegistryWithPersistentPOAPerServant
public ServantRegistry getRegistryWithPersistentPOAPerServant()
-
getRootPOA
public org.jboss.msc.value.InjectedValue<org.omg.PortableServer.POA> getRootPOA()
-
-