Containers
Default CMP Container
Property Name |
Description |
---|---|
CmpEngineFactory |
Default value is org.apache.openejb.core.cmp.jpa.JpaCmpEngineFactory. |
Default BMP Container
Property Name |
Description |
---|---|
PoolSize |
Specifies the size of the bean pools for this |
Default Stateless Container
Property Name |
Description |
---|---|
TimeOut |
Specifies the time to wait between invocations. This |
PoolSize |
Specifies the size of the bean pools for this |
StrictPooling |
StrictPooling tells the container what to do when the pool |
Default Stateful Container
Property Name |
Description |
---|---|
Passivator |
The passivator is responsible for writing beans to disk |
TimeOut |
Specifies the time to wait between invocations. This |
PoolSize |
Specifies the size of the bean pools for this |
BulkPassivate |
Property name that specifies the number of instances |
Default MDB Container
Property Name |
Description |
---|---|
ResourceAdapter |
The resource adapter delivers messages to the container |
MessageListenerInterface |
Specifies the message listener interface handled by this container |
ActivationSpecClass |
Specifies the activation spec class |
InstanceLimit |
Specifies the maximum number of bean instances that are |
Resources
Default JDBC Database
Property Name |
Description |
---|---|
JtaManaged |
Determines wether or not this data source should be JTA managed If set to 'true' it will automatically be enrolled in any ongoing transactions. Calling begin/commit/rollback or setAutoCommit on the datasource or connection will not be allowed. If you need to perform these functions yourself, set JtaManaged to 'false' In terms of JPA persistence.xml: "JtaManaged=true" can be used as a 'jta-data-source' "JtaManaged=false" can be used as a 'non-jta-data-source' Default value is true. |
JdbcDriver |
Driver class name |
JdbcUrl |
Url for creating connections file: data/hsqldb/hsqldb. |
UserName |
Default user name |
Password |
Default password |
ConnectionProperties |
The connection properties that will be sent to the JDBC |
DefaultAutoCommit |
The default auto-commit state of new connections |
DefaultReadOnly |
The default read-only state of new connections |
DefaultTransactionIsolation |
The default TransactionIsolation state of new connections NONE READ_COMMITTED READ_UNCOMMITTED REPEATABLE_READ SERIALIZABLE Note: Most JDBC drivers do not support all isolation levels |
InitialSize |
The initial number of connections that are created when the |
MaxActive |
The maximum number of active connections that can be |
MaxIdle |
The maximum number of connections that can remain idle in |
MinIdle |
The minimum number of connections that can remain idle in |
MaxWait |
The maximum number of milliseconds that the pool will wait |
ValidationQuery |
The SQL query that will be used to validate connections from |
TestOnBorrow |
If true connections will be validated before being returned |
TestOnReturn |
If true connections will be validated before being returned If the validation fails, the connection is destroyed instead of being returned to the pool. NOTE - for a true value to have any effect, the ValidationQuery parameter must be set. Default value is false. |
TestWhileIdle |
If true connections will be validated by the idle connection |
TimeBetweenEvictionRunsMillis |
The number of milliseconds to sleep between runs of the idle |
NumTestsPerEvictionRun |
The number of connectionss to examine during each run of the |
MinEvictableIdleTimeMillis |
The minimum amount of time a connection may sit idle in the |
PoolPreparedStatements |
If true, a statement pool is created for each Connection and public PreparedStatement prepareStatement(String sql); public PreparedStatement prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency) Default value is false. |
MaxOpenPreparedStatements |
The maximum number of open statements that can be allocated |
AccessToUnderlyingConnectionAllowed |
If true the raw physical connection to the database can be Connection conn = ds.getConnection(); Connection rawConn = ((DelegatingConnection) conn).getInnermostDelegate(); ... conn.close() Default is false, because misbehaving programs can do harmfull things to the raw connection shuch as closing the raw connection or continuing to use the raw connection after it has been assigned to another logical connection. Be carefull and only use when you need direct access to driver specific extentions. NOTE: Do NOT close the underlying connection, only the original logical connection wrapper. Default value is false. |
Default Unmanaged JDBC Database
Property Name |
Description |
---|---|
JtaManaged |
Default value is false. |
JdbcDriver |
Driver class name |
JdbcUrl |
Url for creating connections file: data/hsqldb/hsqldb. |
UserName |
Default user name |
Password |
Default password |
ConnectionProperties |
The connection properties that will be sent to the JDBC |
DefaultAutoCommit |
The default auto-commit state of new connections |
DefaultReadOnly |
The default read-only state of new connections |
DefaultTransactionIsolation |
The default TransactionIsolation state of new connections NONE READ_COMMITTED READ_UNCOMMITTED REPEATABLE_READ SERIALIZABLE Note: Most JDBC drivers do not support all isolation levels |
InitialSize |
The initial number of connections that are created when the |
MaxActive |
The maximum number of active connections that can be |
MaxIdle |
The maximum number of connections that can remain idle in |
MinIdle |
The minimum number of connections that can remain idle in |
MaxWait |
The maximum number of milliseconds that the pool will wait |
ValidationQuery |
The SQL query that will be used to validate connections from |
TestOnBorrow |
If true connections will be validated before being returned |
TestOnReturn |
If true connections will be validated before being returned If the validation fails, the connection is destroyed instead of being returned to the pool. NOTE - for a true value to have any effect, the ValidationQuery parameter must be set. Default value is false. |
TestWhileIdle |
If true connections will be validated by the idle connection |
TimeBetweenEvictionRunsMillis |
The number of milliseconds to sleep between runs of the idle |
NumTestsPerEvictionRun |
The number of connectionss to examine during each run of the |
MinEvictableIdleTimeMillis |
The minimum amount of time a connection may sit idle in the |
PoolPreparedStatements |
If true, a statement pool is created for each Connection and public PreparedStatement prepareStatement(String sql); public PreparedStatement prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency) Default value is false. |
MaxOpenPreparedStatements |
The maximum number of open statements that can be allocated |
AccessToUnderlyingConnectionAllowed |
If true the raw physical connection to the database can be Connection conn = ds.getConnection(); Connection rawConn = ((DelegatingConnection) conn).getInnermostDelegate(); ... conn.close() Default is false, because misbehaving programs can do harmfull things to the raw connection shuch as closing the raw connection or continuing to use the raw connection after it has been assigned to another logical connection. Be carefull and only use when you need direct access to driver specific extentions. NOTE: Do NOT close the underlying connection, only the original logical connection wrapper. Default value is false. |
Default JMS Resource Adapter
Property Name |
Description |
---|---|
BrokerXmlConfig |
Broker configuration |
ServerUrl |
Broker address |
DataSource |
DataSource for persistence messages |
ThreadPoolSize |
Specifies the size of the thread pool available to AciveMQ. |
Default JMS Connection Factory
Property Name |
Description |
---|---|
ResourceAdapter |
Default value is Default JMS Resource Adapter. |
TransactionSupport |
Specifies if the connection is enrolled in global transaction |
PoolMaxSize |
Maximum number of physical connection to the ActiveMQ broker |
PoolMinSize |
Minimum number of physical connection to the ActiveMQ broker |
ConnectionMaxWaitMilliseconds |
Maximum amount of time to wait for a connection |
ConnectionMaxIdleMinutes |
Maximum amount of time a connection can be idle before being reclaimed |
Default Queue
Property Name |
Description |
---|---|
destination |
Specifies the name of the queue |
Default Topic
Property Name |
Description |
---|---|
destination |
Specifies the name of the topic |
Default ORB
No properties.
Default Mail Session
No properties.