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 an
EJBClientContext with any information defined in the subsystem model.- Author:
- David M. Lloyd
-
Field Summary
FieldsFields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(org.jboss.ejb.client.EJBClientContext.Builder builder) Perform the configuration of the transport provider.org.jboss.msc.value.InjectedValue<org.jboss.remoting3.Endpoint>Get the endpoint injector.getValue()voidstart(org.jboss.msc.service.StartContext context) voidstop(org.jboss.msc.service.StopContext context)
-
Field Details
-
SERVICE_NAME
public static final org.jboss.msc.service.ServiceName SERVICE_NAME
-
-
Constructor Details
-
EJBClientConfiguratorService
public EJBClientConfiguratorService()
-
-
Method Details
-
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
-