Package org.jboss.as.ejb3.subsystem
Class EJBClientConfiguratorService
- java.lang.Object
-
- org.jboss.as.ejb3.subsystem.EJBClientConfiguratorService
-
- All Implemented Interfaces:
Consumer<org.jboss.ejb.client.EJBClientContext.Builder>,org.jboss.msc.Service,org.jboss.msc.service.Service<EJBClientConfiguratorService>,org.jboss.msc.value.Value<EJBClientConfiguratorService>
public final class EJBClientConfiguratorService extends Object implements Consumer<org.jboss.ejb.client.EJBClientContext.Builder>, org.jboss.msc.service.Service<EJBClientConfiguratorService>
A service to configure anEJBClientContextwith any information defined in the subsystem model.- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description static org.jboss.msc.service.ServiceNameSERVICE_NAME
-
Constructor Summary
Constructors Constructor Description EJBClientConfiguratorService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(org.jboss.ejb.client.EJBClientContext.Builder builder)Perform the configuration of the transport provider.org.jboss.msc.value.InjectedValue<org.jboss.remoting3.Endpoint>getEndpointInjector()Get the endpoint injector.EJBClientConfiguratorServicegetValue()voidstart(org.jboss.msc.service.StartContext context)voidstop(org.jboss.msc.service.StopContext context)
-
-
-
Method Detail
-
start
public void start(org.jboss.msc.service.StartContext context) 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 EJBClientConfiguratorService getValue() throws IllegalStateException, IllegalArgumentException
- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<EJBClientConfiguratorService>- Throws:
IllegalStateExceptionIllegalArgumentException
-
accept
public void accept(org.jboss.ejb.client.EJBClientContext.Builder builder)
Perform the configuration of the transport provider.
-
getEndpointInjector
public org.jboss.msc.value.InjectedValue<org.jboss.remoting3.Endpoint> getEndpointInjector()
Get the endpoint injector. This is populated only when the Remoting subsystem is present.- Returns:
- the endpoint injector
-
-