Class CamelSingletonInitialContextFactory

java.lang.Object
org.apache.camel.support.jndi.CamelInitialContextFactory
org.apache.camel.support.jndi.CamelSingletonInitialContextFactory
All Implemented Interfaces:
InitialContextFactory

public class CamelSingletonInitialContextFactory extends CamelInitialContextFactory
A factory of the Camel InitialContext which allows a Map to be used to create a JNDI context.

This implementation is singleton based, by creating a new context once, and reusing it on each call to getInitialContext(java.util.Hashtable).

  • Constructor Details

    • CamelSingletonInitialContextFactory

      public CamelSingletonInitialContextFactory()
  • Method Details