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
FieldsModifier and TypeFieldDescriptionstatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNameFields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.msc.value.InjectedValue<String>org.jboss.msc.value.InjectedValue<URI>org.jboss.ejb.client.EJBClientContextorg.wildfly.security.auth.client.AuthenticationContextorg.jboss.msc.value.InjectedValue<EJBClientConfiguratorService>org.jboss.msc.value.InjectedValue<org.jboss.ejb.client.EJBTransportProvider>org.jboss.msc.value.InjectedValue<RemotingProfileService>getValue()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 Details
-
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
-
-
Constructor Details
-
EJBClientContextService
public EJBClientContextService(boolean makeGlobal) -
EJBClientContextService
public EJBClientContextService()
-
-
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
- 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
-
getAppClientUri
-
getAppClientEjbProperties
-
setInvocationTimeout
public void setInvocationTimeout(long invocationTimeout) -
setDefaultCompression
public void setDefaultCompression(int defaultCompression) -
setDeploymentNodeSelector
public void setDeploymentNodeSelector(org.jboss.ejb.client.DeploymentNodeSelector deploymentNodeSelector) -
setClientClusters
-
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()
-