|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.config.BeanConfig
Bean configuration class. BeanConfig instances contain the class name and property information required to instantiate a class that conforms with the JavaBean conventions.
Constructor Summary | |
BeanConfig(BeanConfig config)
Copies a bean configuration. |
|
BeanConfig(String className,
Properties properties)
Creates a bean configuration. |
Method Summary | |
String |
getClassName()
Returns the class name of the configured bean. |
Properties |
getParameters()
Returns the initial properties of the configured bean. |
Object |
newInstance()
Creates a new instance of the configured bean class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BeanConfig(String className, Properties properties)
className
- class name of the beanproperties
- initial properties of the beanpublic BeanConfig(BeanConfig config)
config
- the configuration to be copiedMethod Detail |
public String getClassName()
public Properties getParameters()
public Object newInstance() throws ConfigurationException
ConfigurationException
- on bean configuration errors
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |