Containers
CMP_ENTITY
Declarable in openejb.xml via
<Container id="Foo" type="CMP_ENTITY"> </Container>
Declarable in properties via
Foo = new://Container?type=CMP_ENTITY
Supports the following properties
Property Name |
Description |
---|---|
CmpEngineFactory |
Default value is org.apache.openejb.core.cmp.jpa.JpaCmpEngineFactory. |
BMP_ENTITY
Declarable in openejb.xml via
<Container id="Foo" type="BMP_ENTITY"> </Container>
Declarable in properties via
Foo = new://Container?type=BMP_ENTITY
Supports the following properties
Property Name |
Description |
---|---|
PoolSize |
Specifies the size of the bean pools for this |
STATELESS
Declarable in openejb.xml via
<Container id="Foo" type="STATELESS"> </Container>
Declarable in properties via
Foo = new://Container?type=STATELESS
Supports the following properties
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 |
STATEFUL
Declarable in openejb.xml via
<Container id="Foo" type="STATEFUL"> </Container>
Declarable in properties via
Foo = new://Container?type=STATEFUL
Supports the following properties
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 |
MESSAGE
Declarable in openejb.xml via
<Container id="Foo" type="MESSAGE"> </Container>
Declarable in properties via
Foo = new://Container?type=MESSAGE
Supports the following properties
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
javax.sql.DataSource
Declarable in openejb.xml via
<Resource id="Foo" type="javax.sql.DataSource"> </Resource>
Declarable in properties via
Foo = new://Resource?type=javax.sql.DataSource
Supports the following properties
Property Name |
Description |
||
---|---|---|---|
JtaManaged |
Determines wether or not this data source should be JTA managed |
||
JdbcDriver |
Driver class name |
||
JdbcUrl |
Url for creating connections |
||
UserName |
Default user name |
||
Password |
Default password |
||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="98ca7429-f5cc-4d7b-8bdf-257599159b52"><ac:plain-text-body><![CDATA[ |
ConnectionProperties |
The connection properties that will be sent to the JDBC |
]]></ac:plain-text-body></ac:structured-macro> |
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 |
||
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 |
||
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 |
||
MaxOpenPreparedStatements |
The maximum number of open statements that can be allocated |
||
AccessToUnderlyingConnectionAllowed |
If true the raw physical connection to the database can be |
ActiveMQResourceAdapter
Declarable in openejb.xml via
<Resource id="Foo" type="ActiveMQResourceAdapter"> </Resource>
Declarable in properties via
Foo = new://Resource?type=ActiveMQResourceAdapter
Supports the following properties
Property Name |
Description |
---|---|
BrokerXmlConfig |
Broker configuration |
ServerUrl |
Broker address |
DataSource |
DataSource for persistence messages |
javax.jms.ConnectionFactory
Declarable in openejb.xml via
<Resource id="Foo" type="javax.jms.ConnectionFactory"> </Resource>
Declarable in properties via
Foo = new://Resource?type=javax.jms.ConnectionFactory
Supports the following properties
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 |
javax.jms.Queue
Declarable in openejb.xml via
<Resource id="Foo" type="javax.jms.Queue"> </Resource>
Declarable in properties via
Foo = new://Resource?type=javax.jms.Queue
Supports the following properties
Property Name |
Description |
---|---|
destination |
Specifies the name of the queue |
javax.jms.Topic
Declarable in openejb.xml via
<Resource id="Foo" type="javax.jms.Topic"> </Resource>
Declarable in properties via
Foo = new://Resource?type=javax.jms.Topic
Supports the following properties
Property Name |
Description |
---|---|
destination |
Specifies the name of the topic |
org.omg.CORBA.ORB
Declarable in openejb.xml via
<Resource id="Foo" type="org.omg.CORBA.ORB"> </Resource>
Declarable in properties via
Foo = new://Resource?type=org.omg.CORBA.ORB
No properties.
javax.mail.Session
Declarable in openejb.xml via
<Resource id="Foo" type="javax.mail.Session"> </Resource>
Declarable in properties via
Foo = new://Resource?type=javax.mail.Session
No properties.