public class DescriptorBasedEJBClientContextService extends Object implements org.jboss.msc.service.Service<org.jboss.ejb.client.EJBClientContext>
EJBClientContext
with appropriate remoting receivers and local receivers.
The receivers and the client context are configured in a jboss-ejb-client.xml.Modifier and Type | Field and Description |
---|---|
static org.jboss.msc.service.ServiceName |
BASE_SERVICE_NAME |
Constructor and Description |
---|
DescriptorBasedEJBClientContextService(org.jboss.ejb.client.EJBClientConfiguration ejbClientConfiguration)
Deprecated.
|
DescriptorBasedEJBClientContextService(org.jboss.ejb.client.EJBClientConfiguration ejbClientConfiguration,
ClassLoader clientContextClassloader) |
Modifier and Type | Method and Description |
---|---|
void |
addRemotingConnectionDependency(org.jboss.msc.service.ServiceBuilder<org.jboss.ejb.client.EJBClientContext> serviceBuilder,
org.jboss.msc.service.ServiceName serviceName) |
org.jboss.msc.inject.Injector<LocalEjbReceiver> |
getLocalEjbReceiverInjector() |
org.jboss.ejb.client.EJBClientContext |
getValue() |
void |
setChannelCreationOptions(String outboundConnectionName,
org.xnio.OptionMap options) |
void |
setConnectionCreationTimeout(String outboundConnectionName,
long timeoutInMillis) |
void |
start(org.jboss.msc.service.StartContext startContext) |
void |
stop(org.jboss.msc.service.StopContext context) |
public static final org.jboss.msc.service.ServiceName BASE_SERVICE_NAME
@Deprecated public DescriptorBasedEJBClientContextService(org.jboss.ejb.client.EJBClientConfiguration ejbClientConfiguration)
DescriptorBasedEJBClientContextService(org.jboss.ejb.client.EJBClientConfiguration, ClassLoader)
insteadejbClientConfiguration
- public DescriptorBasedEJBClientContextService(org.jboss.ejb.client.EJBClientConfiguration ejbClientConfiguration, ClassLoader clientContextClassloader)
public void start(org.jboss.msc.service.StartContext startContext) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<org.jboss.ejb.client.EJBClientContext>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<org.jboss.ejb.client.EJBClientContext>
public org.jboss.ejb.client.EJBClientContext getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface org.jboss.msc.value.Value<org.jboss.ejb.client.EJBClientContext>
IllegalStateException
IllegalArgumentException
public void addRemotingConnectionDependency(org.jboss.msc.service.ServiceBuilder<org.jboss.ejb.client.EJBClientContext> serviceBuilder, org.jboss.msc.service.ServiceName serviceName)
public void setChannelCreationOptions(String outboundConnectionName, org.xnio.OptionMap options)
public void setConnectionCreationTimeout(String outboundConnectionName, long timeoutInMillis)
public org.jboss.msc.inject.Injector<LocalEjbReceiver> getLocalEjbReceiverInjector()
Copyright © 2015 JBoss by Red Hat. All rights reserved.