Anchor | ||||
---|---|---|---|---|
|
Containers
Anchor | ||||
---|---|---|---|---|
|
CMP_ENTITY
Declarable in openejb.xml via
Code Block | ||||
---|---|---|---|---|
| ||||
<Container id="Foo" type="CMP_ENTITY"> </Container> |
Declarable in properties via
Panel |
---|
Foo = new://Container?type=CMP_ENTITY |
Supports the following properties
Property Name | Description |
---|---|
CmpEngineFactory | Default value is org.apache.openejb.core.cmp.jpa.JpaCmpEngineFactory. |
Anchor | ||||
---|---|---|---|---|
|
BMP_ENTITY
Declarable in openejb.xml via
Code Block | ||||
---|---|---|---|---|
| ||||
<Container id="Foo" type="BMP_ENTITY"> </Container> |
Declarable in properties via
Panel |
---|
Foo = new://Container?type=BMP_ENTITY |
Supports the following properties
Property Name | Description |
---|---|
PoolSize | Specifies the size of the bean pools for this |
Anchor | ||||
---|---|---|---|---|
|
STATELESS
Declarable in openejb.xml via
Code Block | ||||
---|---|---|---|---|
| ||||
<Container id="Foo" type="STATELESS"> </Container> |
Declarable in properties via
Panel |
---|
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 |
Anchor | ||||
---|---|---|---|---|
|
STATEFUL
Declarable in openejb.xml via
Code Block | ||||
---|---|---|---|---|
| ||||
<Container id="Foo" type="STATEFUL"> </Container> |
Declarable in properties via
Panel |
---|
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 |
Anchor | ||||
---|---|---|---|---|
|
MESSAGE
Declarable in openejb.xml via
Code Block | ||||
---|---|---|---|---|
| ||||
<Container id="Foo" type="MESSAGE"> </Container> |
Declarable in properties via
Panel |
---|
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 |
Anchor | ||||
---|---|---|---|---|
|
Resources
Anchor | ||||
---|---|---|---|---|
|
javax.sql.DataSource
Declarable in openejb.xml via
Code Block | ||||
---|---|---|---|---|
| ||||
<Resource id="Foo" type="javax.sql.DataSource"> </Resource> |
Declarable in properties via
Panel |
---|
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
in any ongoing transactions.
on the datasource or connection will not be allowed.
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
| ||||||||||||||||
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
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
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
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
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.
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. |
Anchor | ||||
---|---|---|---|---|
|
ActiveMQResourceAdapter
Declarable in openejb.xml via
Code Block | ||||
---|---|---|---|---|
| ||||
<Resource id="Foo" type="ActiveMQResourceAdapter"> </Resource> |
Declarable in properties via
Panel |
---|
Foo = new://Resource?type=ActiveMQResourceAdapter |
Supports the following properties
Property Name | Description |
---|---|
BrokerXmlConfig | Broker configuration |
ServerUrl | Broker address |
DataSource | DataSource for persistence messages |
Anchor | ||||
---|---|---|---|---|
|
javax.jms.ConnectionFactory
Declarable in openejb.xml via
Code Block | ||||
---|---|---|---|---|
| ||||
<Resource id="Foo" type="javax.jms.ConnectionFactory"> </Resource> |
Declarable in properties via
Panel |
---|
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 |
Anchor | ||||
---|---|---|---|---|
|
javax.jms.Queue
Declarable in openejb.xml via
Code Block | ||||
---|---|---|---|---|
| ||||
<Resource id="Foo" type="javax.jms.Queue"> </Resource> |
Declarable in properties via
Panel |
---|
Foo = new://Resource?type=javax.jms.Queue |
Supports the following properties
Property Name | Description |
---|---|
destination | Specifies the name of the queue |
Anchor | ||||
---|---|---|---|---|
|
javax.jms.Topic
Declarable in openejb.xml via
Code Block | ||||
---|---|---|---|---|
| ||||
<Resource id="Foo" type="javax.jms.Topic"> </Resource> |
Declarable in properties via
Panel |
---|
Foo = new://Resource?type=javax.jms.Topic |
Supports the following properties
Property Name | Description |
---|---|
destination | Specifies the name of the topic |
Anchor | ||||
---|---|---|---|---|
|
org.omg.CORBA.ORB
Declarable in openejb.xml via
Code Block | ||||
---|---|---|---|---|
| ||||
<Resource id="Foo" type="org.omg.CORBA.ORB"> </Resource> |
Declarable in properties via
Panel |
---|
Foo = new://Resource?type=org.omg.CORBA.ORB |
No properties.
Anchor | ||||
---|---|---|---|---|
|
javax.mail.Session
Declarable in openejb.xml via
Code Block | ||||
---|---|---|---|---|
| ||||
<Resource id="Foo" type="javax.mail.Session"> </Resource> |
Declarable in properties via
Panel |
---|
Foo = new://Resource?type=javax.mail.Session |
No properties.