Package com.mchange.v2.naming
Class JavaBeanObjectFactory
- java.lang.Object
-
- com.mchange.v2.naming.JavaBeanObjectFactory
-
- All Implemented Interfaces:
javax.naming.spi.ObjectFactory
public class JavaBeanObjectFactory extends java.lang.Object implements javax.naming.spi.ObjectFactory
-
-
Constructor Summary
Constructors Constructor Description JavaBeanObjectFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
createBlankInstance(java.lang.Class beanClass)
protected java.lang.Object
findBean(java.lang.Class beanClass, java.util.Map propertyMap, java.util.Set refProps)
java.lang.Object
getObjectInstance(java.lang.Object refObj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable env)
-
-
-
Method Detail
-
getObjectInstance
public java.lang.Object getObjectInstance(java.lang.Object refObj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable env) throws java.lang.Exception
- Specified by:
getObjectInstance
in interfacejavax.naming.spi.ObjectFactory
- Throws:
java.lang.Exception
-
createBlankInstance
protected java.lang.Object createBlankInstance(java.lang.Class beanClass) throws java.lang.Exception
- Throws:
java.lang.Exception
-
findBean
protected java.lang.Object findBean(java.lang.Class beanClass, java.util.Map propertyMap, java.util.Set refProps) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-