Binds object from jndi to pv.
Configuration:
Attribute: jndi-name
Nested elements: environment-property with attribute name .
Example:<topicConnectionFactory type="biz.hammurapi.config.JndiWrapper" jndi-name="TopicConnectionFactory">
<environment-property name="java.naming.factory.initial">factory class</environment-property>
<environment-property name="java.naming.provider.url">provider urle</environment-property>
</topicConnectionFactory>
Environment properties are passed to the constructor of initial JNDI context.
If jndi-name attribute is not set then this class returns InitialContext as its master.
If jndi-name is not set or master object is instance of javax.naming.Context then this component acts as a JNDI bridge.
author: Pavel Vlasov |