List of usage examples for javax.naming.spi ObjectFactory interface-usage
From source file net.chrisrichardson.foodToGo.ejb3.jndi.SpringObjectFactory.java
public class SpringObjectFactory implements ObjectFactory { private Log logger = LogFactory.getLog(getClass()); public Object getObjectInstance(Object reference, Name name, Context nameCtx, Hashtable<?, ?> environment) throws Exception {
From source file org.jberet.support.io.XmlFactoryObjectFactory.java
/**
* An implementation of {@code javax.naming.spi.ObjectFactory} that produces instance of
* {@code com.fasterxml.jackson.dataformat.xml.XmlFactory}. This class can be used to create a custom JNDI resource
* in an application server. See wildfly.home/docs/schema/jboss-as-naming_2_0.xsd for more details.
*
* @see "javax.naming.spi.ObjectFactory"
From source file org.eclipse.ecr.runtime.jtajca.NuxeoConnectionManagerFactory.java
/** * Factory for the ConnectionManager. */ public class NuxeoConnectionManagerFactory implements ObjectFactory { private static final Log log = LogFactory.getLog(NuxeoConnectionManagerFactory.class);
From source file org.eclipse.ecr.runtime.jtajca.NuxeoTransactionManagerFactory.java
/** * Factory for the TransactionManager. */ public class NuxeoTransactionManagerFactory implements ObjectFactory { private static final Log log = LogFactory.getLog(NuxeoTransactionManagerFactory.class);
From source file org.jberet.support.io.NoMappingJsonFactoryObjectFactory.java
/**
* An implementation of {@code javax.naming.spi.ObjectFactory} that produces instance of
* {@code com.fasterxml.jackson.core.JsonFactory}. This class can be used to create a custom JNDI resource
* in an application server. See wildfly.home/docs/schema/jboss-as-naming_2_0.xsd for more details.
*
* @see "javax.naming.spi.ObjectFactory"
From source file org.soulwing.cas.client.ProtocolConfigurationFactory.java
/** * A JNDI resource factory for ProtocolConfigurationImpl objects. * * @author Carl Harris */ public class ProtocolConfigurationFactory implements ObjectFactory {
From source file org.rhq.enterprise.server.test.ldap.FakeLdapCtxFactory.java
/**
* An implementation of {@link InitialContextFactory} that can be used for
* testing LDAP context operations. This implementation simply returns an
* instance of {@link FakeLdapContext}.
*
* @author loleary
From source file ru.zinin.redis.factory.JedisPoolFactory.java
/**
* <p>ObjectFactory for creation JedisPool objects.</p>
* <p>Support properties:</p>
* <ul>
* <li>host - redis server hostname, "localhost" by default</li>
* <li>port - redis server port, {@link redis.clients.jedis.Protocol#DEFAULT_PORT} by default</li>
From source file org.apache.jackrabbit.core.jndi.BindableRepositoryFactory.java
/** * <code>BindableRepositoryFactory</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 BindableRepositoryFactory implements ObjectFactory {
From source file org.apache.jackrabbit.core.jndi.BindableRepositoryFactory.java
/** * <code>BindableRepositoryFactory</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 BindableRepositoryFactory implements ObjectFactory {