Package org.jboss.as.ejb3.deployment
Class EJBSecurityDomainService
java.lang.Object
org.jboss.as.ejb3.deployment.EJBSecurityDomainService
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<Void>,org.jboss.msc.value.Value<Void>
A service that sets up the security domain mapping for a Jakarta Enterprise Beans deployment.
This service is responsible for deployment level actions such as registering a deployment with the resolved
application-security-domain mapping or associating the
SecurityDomain with the deployment's ClassLoader.
Defined ComponentConfigurator instances will then provide the component specific installation.- Author:
- Farah
-
Field Summary
FieldsFields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
ConstructorsConstructorDescriptionEJBSecurityDomainService(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.msc.inject.Injector<ApplicationSecurityDomainService.ApplicationSecurityDomain>org.jboss.msc.inject.Injector<org.wildfly.security.auth.server.SecurityDomain>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
-
EJBSecurityDomainService
public EJBSecurityDomainService(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
-
-
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<Void>- Throws:
IllegalStateExceptionIllegalArgumentException
-
getApplicationSecurityDomainInjector
public org.jboss.msc.inject.Injector<ApplicationSecurityDomainService.ApplicationSecurityDomain> getApplicationSecurityDomainInjector() -
getSecurityDomainInjector
public org.jboss.msc.inject.Injector<org.wildfly.security.auth.server.SecurityDomain> getSecurityDomainInjector()
-