Package org.jboss.as.ejb3.remote
Class EJBClientContextService
- java.lang.Object
-
- org.jboss.as.ejb3.remote.EJBClientContextService
-
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<EJBClientContextService>,org.jboss.msc.value.Value<EJBClientContextService>
public final class EJBClientContextService extends Object implements org.jboss.msc.service.Service<EJBClientContextService>
The Jakarta Enterprise Beans client context service.- Author:
- Stuart Douglas, Tomasz Adamski, David M. Lloyd, Joerg Baesner
-
-
Field Summary
Fields Modifier and Type Field Description static org.jboss.msc.service.ServiceNameAPP_CLIENT_EJB_PROPERTIES_SERVICE_NAMEstatic org.jboss.msc.service.ServiceNameAPP_CLIENT_URI_SERVICE_NAMEstatic org.jboss.msc.service.ServiceNameDEFAULT_SERVICE_NAMEstatic org.jboss.msc.service.ServiceNameDEPLOYMENT_BASE_SERVICE_NAME
-
Constructor Summary
Constructors Constructor Description EJBClientContextService()EJBClientContextService(boolean makeGlobal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.msc.value.InjectedValue<String>getAppClientEjbProperties()org.jboss.msc.value.InjectedValue<URI>getAppClientUri()org.jboss.ejb.client.EJBClientContextgetClientContext()org.wildfly.security.auth.client.AuthenticationContextgetClustersAuthenticationContext()org.jboss.msc.value.InjectedValue<EJBClientConfiguratorService>getConfiguratorServiceInjector()org.jboss.msc.value.InjectedValue<org.jboss.ejb.client.EJBTransportProvider>getLocalProviderInjector()org.jboss.msc.value.InjectedValue<RemotingProfileService>getProfileServiceInjector()EJBClientContextServicegetValue()voidsetClientClusters(List<org.jboss.ejb.client.EJBClientCluster> clientClusters)voidsetClientInterceptors(List<org.jboss.ejb.client.EJBClientInterceptor> clientInterceptors)voidsetClustersAuthenticationContext(org.wildfly.security.auth.client.AuthenticationContext clustersAuthenticationContext)voidsetDefaultCompression(int defaultCompression)voidsetDeploymentNodeSelector(org.jboss.ejb.client.DeploymentNodeSelector deploymentNodeSelector)voidsetInvocationTimeout(long invocationTimeout)voidstart(org.jboss.msc.service.StartContext context)voidstop(org.jboss.msc.service.StopContext context)
-
-
-
Field Detail
-
APP_CLIENT_URI_SERVICE_NAME
public static final org.jboss.msc.service.ServiceName APP_CLIENT_URI_SERVICE_NAME
-
APP_CLIENT_EJB_PROPERTIES_SERVICE_NAME
public static final org.jboss.msc.service.ServiceName APP_CLIENT_EJB_PROPERTIES_SERVICE_NAME
-
DEPLOYMENT_BASE_SERVICE_NAME
public static final org.jboss.msc.service.ServiceName DEPLOYMENT_BASE_SERVICE_NAME
-
DEFAULT_SERVICE_NAME
public static final org.jboss.msc.service.ServiceName DEFAULT_SERVICE_NAME
-
-
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- Specified by:
startin interfaceorg.jboss.msc.service.Service<EJBClientContextService>- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context)
- Specified by:
stopin interfaceorg.jboss.msc.Service- Specified by:
stopin interfaceorg.jboss.msc.service.Service<EJBClientContextService>
-
getValue
public EJBClientContextService getValue() throws IllegalStateException, IllegalArgumentException
- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<EJBClientContextService>- Throws:
IllegalStateExceptionIllegalArgumentException
-
getClientContext
public org.jboss.ejb.client.EJBClientContext getClientContext()
-
getConfiguratorServiceInjector
public org.jboss.msc.value.InjectedValue<EJBClientConfiguratorService> getConfiguratorServiceInjector()
-
getLocalProviderInjector
public org.jboss.msc.value.InjectedValue<org.jboss.ejb.client.EJBTransportProvider> getLocalProviderInjector()
-
getProfileServiceInjector
public org.jboss.msc.value.InjectedValue<RemotingProfileService> getProfileServiceInjector()
-
getAppClientUri
public org.jboss.msc.value.InjectedValue<URI> getAppClientUri()
-
getAppClientEjbProperties
public org.jboss.msc.value.InjectedValue<String> getAppClientEjbProperties()
-
setInvocationTimeout
public void setInvocationTimeout(long invocationTimeout)
-
setDefaultCompression
public void setDefaultCompression(int defaultCompression)
-
setDeploymentNodeSelector
public void setDeploymentNodeSelector(org.jboss.ejb.client.DeploymentNodeSelector deploymentNodeSelector)
-
setClientClusters
public void setClientClusters(List<org.jboss.ejb.client.EJBClientCluster> clientClusters)
-
setClustersAuthenticationContext
public void setClustersAuthenticationContext(org.wildfly.security.auth.client.AuthenticationContext clustersAuthenticationContext)
-
setClientInterceptors
public void setClientInterceptors(List<org.jboss.ejb.client.EJBClientInterceptor> clientInterceptors)
-
getClustersAuthenticationContext
public org.wildfly.security.auth.client.AuthenticationContext getClustersAuthenticationContext()
-
-