Package org.jboss.as.naming.service
Class ExternalContextBinderService
- java.lang.Object
-
- org.jboss.as.naming.service.BinderService
-
- org.jboss.as.naming.service.ExternalContextBinderService
-
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<ManagedReferenceFactory>,org.jboss.msc.value.Value<ManagedReferenceFactory>
public class ExternalContextBinderService extends BinderService
A binder service for external contexts.- Author:
- Eduardo Martins
-
-
Constructor Summary
Constructors Constructor Description ExternalContextBinderService(String name, Object source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.msc.value.InjectedValue<ExternalContexts>getExternalContextsInjector()voidstart(org.jboss.msc.service.StartContext context)Bind the entry into the injected context.voidstop(org.jboss.msc.service.StopContext context)Unbind the entry from the injected context.-
Methods inherited from class org.jboss.as.naming.service.BinderService
acquire, getManagedObjectInjector, getName, getNamingStoreInjector, getServiceName, getSource, getValue, release, setSource, toString
-
-
-
-
Method Detail
-
getExternalContextsInjector
public org.jboss.msc.value.InjectedValue<ExternalContexts> getExternalContextsInjector()
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartExceptionDescription copied from class:BinderServiceBind the entry into the injected context.- Specified by:
startin interfaceorg.jboss.msc.Service- Specified by:
startin interfaceorg.jboss.msc.service.Service<ManagedReferenceFactory>- Overrides:
startin classBinderService- Parameters:
context- The start context- Throws:
org.jboss.msc.service.StartException- If the entity can not be bound
-
stop
public void stop(org.jboss.msc.service.StopContext context)
Description copied from class:BinderServiceUnbind the entry from the injected context.- Specified by:
stopin interfaceorg.jboss.msc.Service- Specified by:
stopin interfaceorg.jboss.msc.service.Service<ManagedReferenceFactory>- Overrides:
stopin classBinderService- Parameters:
context- The stop context
-
-