Bean configuration tag

From Resin 3.0

Jump to: navigation, search

See Also

Inversion of Control


directive description
init Block of Inversion of Control setters
jndi-name JNDI name to store the bean
local-transaction-optimization For transactional beans, use the local transaction optimization when possible
mbean-interface Java interface exposing the bean's management interface
mbean-listener Registers the bean to listen for JMX events
mbean-name JMX name to store the bean
type The Java class of the bean
var EL variable to store the bean


<bean var="movie"
    <name>Fellowship of the Ring</name>
    <director>Peter Jackson</director>

<servlet servlet-name="movie-display"
Personal tools