Class BeanFactory

java.lang.Object
org.apache.naming.factory.BeanFactory
All Implemented Interfaces:
ObjectFactory

public class BeanFactory extends Object implements ObjectFactory
Object factory for any Resource conforming to the JavaBean spec.

This factory can be configured in a <Context> element in your conf/server.xml configuration file. An example of factory configuration is:

 <Resource name="jdbc/myDataSource"
           auth="SERVLET"
           type="oracle.jdbc.pool.OracleConnectionCacheImpl"
           factory="org.apache.naming.factory.BeanFactory"
           driverType="thin"
           serverName="hue"
           networkProtocol="tcp"
           databaseName="XXXX"
           portNumber="NNNN"
           user="XXXX"
           password="XXXX"
           maxLimit="5"
           />
 
Author:
Aner Perez [aner at ncstech.com]
  • Constructor Details

    • BeanFactory

      public BeanFactory()
  • Method Details