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>
A binder service for external contexts.
- Author:
- Eduardo Martins
-
Field Summary
Fields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.msc.value.InjectedValue<ExternalContexts>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
-
Constructor Details
-
ExternalContextBinderService
- Parameters:
name-source-
-
-
Method Details
-
getExternalContextsInjector
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException Description copied from class:BinderServiceBind the entry into the injected context.- Specified by:
startin interfaceorg.jboss.msc.Service- 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- Overrides:
stopin classBinderService- Parameters:
context- The stop context
-