Package org.jboss.as.ejb3.subsystem
Class EjbNameRegexService
java.lang.Object
org.jboss.as.ejb3.subsystem.EjbNameRegexService
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<EjbNameRegexService>,org.jboss.msc.value.Value<EjbNameRegexService>
public class EjbNameRegexService
extends Object
implements org.jboss.msc.service.Service<EjbNameRegexService>
- Author:
- Stuart Douglas
-
Field Summary
FieldsFields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValue()booleanvoidsetEjbNameRegexAllowed(boolean ejbNameRegexAllowed) 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
-
EjbNameRegexService
public EjbNameRegexService(boolean defaultDistinctName)
-
-
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<EjbNameRegexService>- Throws:
IllegalStateExceptionIllegalArgumentException
-
isEjbNameRegexAllowed
public boolean isEjbNameRegexAllowed() -
setEjbNameRegexAllowed
public void setEjbNameRegexAllowed(boolean ejbNameRegexAllowed)
-