Example usage for javax.naming.spi ObjectFactory interface-usage

List of usage examples for javax.naming.spi ObjectFactory interface-usage

Introduction

In this page you can find the example usage for javax.naming.spi ObjectFactory interface-usage.

Usage

From source file org.nuxeo.runtime.datasource.DataSourceFactory.java

/**
 * JNDI factory for a DataSource that delegates to an Apache DBCP pool.
 * <p>
 * An instance of this class is registered in JNDI for each datasource
 * configured by the {@link DataSourceComponent}.
 */

From source file com.mysoft.b2b.event.util.MysoftBoneCPDataSource.java

/**
 * chengp: Change to the actual description of this class
 * @version   Revision History
 * <pre>
 * Author     Version       Date        Changes
 * chengp    1.0           2014825     Created

From source file org.nuxeo.runtime.datasource.BasicManagedDataSourceFactory.java

/**
 * JNDI object factory for DBCP that creates an instance of
 * <code>BasicManagedDataSource</code> that has been configured based on the
 * <code>RefAddr</code> values of the specified <code>Reference</code>, which
 * must match the names and data types of the
 * <code>BasicManagedDataSource</code> bean properties.

From source file org.apache.jackrabbit.core.jndi.JahiaBindableRepositoryFactory.java

/**
 * <code>JahiaBindableRepositoryFactory</code> is an object factory that when given
 * a reference for a <code>BindableRepository</code> object, will create an
 * instance of the corresponding  <code>BindableRepository</code>.
 */
public class JahiaBindableRepositoryFactory implements ObjectFactory {

From source file JDBCPool.dbcp.demo.sourcecode.BasicDataSourceFactory.java

/**
 * <p>JNDI object factory that creates an instance of
 * <code>BasicDataSource</code> that has been configured based on the
 * <code>RefAddr</code> values of the specified <code>Reference</code>, which
 * must match the names and data types of the <code>BasicDataSource</code> bean
 * properties with the following exceptions:</p>

From source file com.frameworkset.commons.dbcp2.BasicDataSourceFactory.java

/**
 * <p>JNDI object factory that creates an instance of
 * <code>BasicDataSource</code> that has been configured based on the
 * <code>RefAddr</code> values of the specified <code>Reference</code>, which
 * must match the names and data types of the <code>BasicDataSource</code> bean
 * properties with the following exceptions:</p>

From source file NonSerializableFactory.java

/** 
 * A utility class that allows one to bind a non-serializable object into a
 * local JNDI context. The binding will only be valid for the lifetime of the
 * VM in which the JNDI InitialContext lives. An example usage code snippet is:
 *
<pre>

From source file org.apache.naming.modules.fs.fsURLContextFactory.java

/**
 * Context factory for the "file:" namespace.
 * <p>
 * <b>Important note</b> : This factory MUST be associated with the "java" URL
 * prefix, which can be done by either :
 * <ul>

From source file org.nuxeo.runtime.datasource.PooledDataSourceFactory.java

public class PooledDataSourceFactory implements ObjectFactory {

    @Override
    public Object getObjectInstance(Object obj, Name name, Context ctx, Hashtable<?, ?> environment) {
        class NuxeoDataSource extends TranqlDataSource implements PooledDataSource {

From source file Rebind.java

/**
 * This is an object factory that when given a reference for a Fruit object,
 * will create an instance of the corresponding Fruit.
 */
class FruitFactory implements ObjectFactory {