Package com.mchange.v2.naming
Class JavaBeanReferenceMaker
- java.lang.Object
-
- com.mchange.v2.naming.JavaBeanReferenceMaker
-
- All Implemented Interfaces:
ReferenceMaker
public class JavaBeanReferenceMaker extends java.lang.Object implements ReferenceMaker
-
-
Constructor Summary
Constructors Constructor Description JavaBeanReferenceMaker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addReferenceProperty(java.lang.String propName)
javax.naming.Reference
createReference(java.lang.Object bean)
java.lang.String
getDefaultFactoryClassLocation()
java.util.Hashtable
getEnvironmentProperties()
java.lang.String
getFactoryClassName()
void
removeReferenceProperty(java.lang.String propName)
void
setDefaultFactoryClassLocation(java.lang.String defaultFactoryClassLocation)
void
setEnvironmentProperties(java.util.Hashtable environmentProperties)
void
setFactoryClassName(java.lang.String factoryClassName)
-
-
-
Method Detail
-
getEnvironmentProperties
public java.util.Hashtable getEnvironmentProperties()
-
setEnvironmentProperties
public void setEnvironmentProperties(java.util.Hashtable environmentProperties)
-
setFactoryClassName
public void setFactoryClassName(java.lang.String factoryClassName)
-
getFactoryClassName
public java.lang.String getFactoryClassName()
-
getDefaultFactoryClassLocation
public java.lang.String getDefaultFactoryClassLocation()
-
setDefaultFactoryClassLocation
public void setDefaultFactoryClassLocation(java.lang.String defaultFactoryClassLocation)
-
addReferenceProperty
public void addReferenceProperty(java.lang.String propName)
-
removeReferenceProperty
public void removeReferenceProperty(java.lang.String propName)
-
createReference
public javax.naming.Reference createReference(java.lang.Object bean) throws javax.naming.NamingException
- Specified by:
createReference
in interfaceReferenceMaker
- Throws:
javax.naming.NamingException
-
-