Most of the class-level HPAS options are specified in
parameters of this tag.
Parameter |
Type |
Applicability |
Description |
Mandatory |
read-only |
bool |
Applicable only to entity beans. |
Specifies whether the bean is marked as read only.
|
false |
passivation |
bool |
Applicable to stateful session beans and entity beans. For stateful
session beans, if this parameter is used then the passivate-threshold
parameter must also be present.
|
Determines whether the container can manage the passivation behaviour
of beans; indicates whether passivation is enabled for the bean.
|
false |
passivate-threshold |
int |
|
Specifies the number of beans for a deployed EJB above which the container
will attempt to passivate instances. Applicable to stateful session beans
only, when the passivation parameter has been used.
|
false |
session-timeout |
int |
|
Indicates the timeout for the session.
*** Note, int used because do not know what the f**k is duration
|
false |
concurrent-message-processing |
bool |
Applicable to message driven beans only |
Specifies whether concurrent message processing is enabled.
|
false |
max-messages |
int |
Applicable to message driven beans only |
Specifies the maximum number of messages assigned to a single session. This
value is passed to the JMS server
|
false |
max-message-threads |
int |
Applicable to message driven beans only |
Specifies the maximum number of separate server sessions (threads) that
will be created to handle messages
|
false |
message-thread-timeout |
int |
Applicable to message driven beans only |
Specifies the amount of time after which an idle server session will
be available to be removed from the pool.
|
false |
connection-retry |
bool |
Applicable to message driven beans only |
Specifies whether an exception listener is registered for the connection.
If no exception listener is established, there will be no connection failover.
|
false |
jndi-factory |
text |
Applicable to message driven beans only |
Specifies the lookup string used to obtain the factory that will be
used to create the connection used by the MDB.
|
true
|
jndi-destination |
text |
Applicable to message driven beans only |
Specifies the lookup string for the destination topic or queue for which
the bean is registered as a listener.
|
true
|