public class MdbContainerFactory
extends java.lang.Object
Constructor and Description |
---|
MdbContainerFactory() |
Modifier and Type | Method and Description |
---|---|
BaseMdbContainer |
create() |
Duration |
getAccessTimeout() |
java.lang.Class |
getActivationSpecClass() |
int |
getCallbackThreads() |
Duration |
getCloseTimeout() |
int |
getEvictionThreads() |
java.lang.Object |
getId() |
int |
getInstanceLimit() |
java.lang.Class |
getMessageListenerInterface() |
Pool.Builder |
getPoolBuilder() |
java.util.Properties |
getProperties() |
ResourceAdapter |
getResourceAdapter() |
SecurityService |
getSecurityService() |
boolean |
isFailOnUnknownActivationSpec() |
boolean |
isPool() |
boolean |
isUseOneSchedulerThreadByBean() |
void |
setAccessTimeout(Duration accessTimeout) |
void |
setActivationSpecClass(java.lang.Class activationSpecClass) |
void |
setCallbackThreads(int callbackThreads) |
void |
setCloseTimeout(Duration closeTimeout) |
void |
setEvictionThreads(int evictionThreads) |
void |
setFailOnUnknownActivationSpec(boolean failOnUnknownActivationSpec) |
void |
setGarbageCollection(boolean garbageCollection) |
void |
setId(java.lang.Object id) |
void |
setIdleTimeout(Duration idleTimeout) |
void |
setInstanceLimit(int instanceLimit)
Deprecated.
use MaxSize
|
void |
setMaxAge(Duration maxAge) |
void |
setMaxAgeOffset(double maxAgeOffset) |
void |
setMaxSize(int max) |
void |
setMessageListenerInterface(java.lang.Class messageListenerInterface) |
void |
setMinSize(int min) |
void |
setPool(boolean pool) |
void |
setPoolBuilder(Pool.Builder poolBuilder) |
void |
setReplaceAged(boolean replaceAged) |
void |
setReplaceFlushed(boolean replaceFlushed) |
void |
setResourceAdapter(ResourceAdapter resourceAdapter) |
void |
setSecurityService(SecurityService securityService) |
void |
setStrictPooling(boolean strict) |
void |
setSweepInterval(Duration interval) |
void |
setUseOneSchedulerThreadByBean(boolean useOneSchedulerThreadByBean) |
public java.lang.Object getId()
public void setId(java.lang.Object id)
public SecurityService getSecurityService()
public void setSecurityService(SecurityService securityService)
public ResourceAdapter getResourceAdapter()
public void setResourceAdapter(ResourceAdapter resourceAdapter)
public java.lang.Class getMessageListenerInterface()
public void setMessageListenerInterface(java.lang.Class messageListenerInterface)
public java.lang.Class getActivationSpecClass()
public void setActivationSpecClass(java.lang.Class activationSpecClass)
public int getInstanceLimit()
@Deprecated public void setInstanceLimit(int instanceLimit)
public void setMaxSize(int max)
public void setMinSize(int min)
public boolean isFailOnUnknownActivationSpec()
public void setFailOnUnknownActivationSpec(boolean failOnUnknownActivationSpec)
public Duration getAccessTimeout()
public void setAccessTimeout(Duration accessTimeout)
public Duration getCloseTimeout()
public void setCloseTimeout(Duration closeTimeout)
public Pool.Builder getPoolBuilder()
public void setPoolBuilder(Pool.Builder poolBuilder)
public int getCallbackThreads()
public void setCallbackThreads(int callbackThreads)
public boolean isUseOneSchedulerThreadByBean()
public void setUseOneSchedulerThreadByBean(boolean useOneSchedulerThreadByBean)
public int getEvictionThreads()
public void setEvictionThreads(int evictionThreads)
public void setStrictPooling(boolean strict)
public void setMaxAge(Duration maxAge)
public void setIdleTimeout(Duration idleTimeout)
public void setSweepInterval(Duration interval)
public void setReplaceAged(boolean replaceAged)
public void setReplaceFlushed(boolean replaceFlushed)
public void setGarbageCollection(boolean garbageCollection)
public void setMaxAgeOffset(double maxAgeOffset)
public boolean isPool()
public void setPool(boolean pool)
public java.util.Properties getProperties()
public BaseMdbContainer create()