Save This Page
Home » apache-activemq-5.1.0-src » org.apache » activemq » jndi » [javadoc | source]
org.apache.activemq.jndi
public class: JNDIReferenceFactory [javadoc | source]
java.lang.Object
   org.apache.activemq.jndi.JNDIReferenceFactory

All Implemented Interfaces:
    ObjectFactory

Converts objects implementing JNDIStorable into a property fields so they can be stored and regenerated from JNDI
Field Summary
static  Log log     
Method from org.apache.activemq.jndi.JNDIReferenceFactory Summary:
createReference,   getObjectInstance,   loadClass
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.jndi.JNDIReferenceFactory Detail:
 public static Reference createReference(String instanceClassName,
    JNDIStorableInterface po) throws NamingException 
    Create a Reference instance from a JNDIStorable object
 public Object getObjectInstance(Object object,
    Name name,
    Context nameCtx,
    Hashtable environment) throws Exception 
    This will be called by a JNDIprovider when a Reference is retrieved from a JNDI store - and generates the orignal instance
 public static Class loadClass(Object thisObj,
    String className) throws ClassNotFoundException 
    Retrieve the class loader for a named class