public class ConfigBasedEJBClientContextSelector extends Object implements ContextSelector<EJBClientContext>
EJBClientConfiguration
to create RemotingConnectionEJBReceiver
s.Constructor and Description |
---|
ConfigBasedEJBClientContextSelector(EJBClientConfiguration ejbClientConfiguration)
Creates a
ConfigBasedEJBClientContextSelector using the passed ejbClientConfiguration . |
Modifier and Type | Method and Description |
---|---|
EJBClientContext |
getCurrent()
Get the current instance, returning
null if none are valid in the current context. |
public ConfigBasedEJBClientContextSelector(EJBClientConfiguration ejbClientConfiguration)
ConfigBasedEJBClientContextSelector
using the passed ejbClientConfiguration
.
This constructor creates a EJBClientContext
and uses the passed ejbClientConfiguration
to create and
associated EJB receivers to that context. If the passed ejbClientConfiguration
is null, then this selector will create a EJBClientContext
without any associated EJB receivers.ejbClientConfiguration
- The EJB client configuration to usepublic EJBClientContext getCurrent()
ContextSelector
null
if none are valid in the current context.getCurrent
in interface ContextSelector<EJBClientContext>
null
if there is noneCopyright © 2012 JBoss by Red Hat. All Rights Reserved.