Package org.jboss.as.ejb3.component.pool
Class StrictMaxPoolConfigService
- java.lang.Object
-
- org.jboss.as.ejb3.component.pool.StrictMaxPoolConfigService
-
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<StrictMaxPoolConfig>,org.jboss.msc.value.Value<StrictMaxPoolConfig>
public class StrictMaxPoolConfigService extends Object implements org.jboss.msc.service.Service<StrictMaxPoolConfig>
User: jpai
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStrictMaxPoolConfigService.Derive
-
Constructor Summary
Constructors Constructor Description StrictMaxPoolConfigService(String poolName, int declaredMaxSize, StrictMaxPoolConfigService.Derive derive, long timeout, TimeUnit timeUnit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDerivedSize()org.jboss.msc.inject.Injector<Integer>getMaxThreadsInjector()StrictMaxPoolConfiggetValue()voidsetDerive(StrictMaxPoolConfigService.Derive derive)voidsetMaxPoolSize(int newMax)voidsetTimeout(long timeout)voidsetTimeoutUnit(TimeUnit timeUnit)voidstart(org.jboss.msc.service.StartContext context)voidstop(org.jboss.msc.service.StopContext context)
-
-
-
Constructor Detail
-
StrictMaxPoolConfigService
public StrictMaxPoolConfigService(String poolName, int declaredMaxSize, StrictMaxPoolConfigService.Derive derive, long timeout, TimeUnit timeUnit)
-
-
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<StrictMaxPoolConfig>- Throws:
org.jboss.msc.service.StartException
-
setMaxPoolSize
public void setMaxPoolSize(int newMax)
-
getDerivedSize
public int getDerivedSize()
-
setDerive
public void setDerive(StrictMaxPoolConfigService.Derive derive)
-
setTimeout
public void setTimeout(long timeout)
-
setTimeoutUnit
public void setTimeoutUnit(TimeUnit timeUnit)
-
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<StrictMaxPoolConfig>
-
getValue
public StrictMaxPoolConfig getValue() throws IllegalStateException, IllegalArgumentException
- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<StrictMaxPoolConfig>- Throws:
IllegalStateExceptionIllegalArgumentException
-
getMaxThreadsInjector
public org.jboss.msc.inject.Injector<Integer> getMaxThreadsInjector()
-
-