|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jafer.databeans.DatabeanManagerFactoryConfig
public class DatabeanManagerFactoryConfig
This class extracts the config information for a DatabeanManagerFactory from the specified config file
Field Summary | |
---|---|
private org.w3c.dom.Node |
configRoot
Stores a reference to the config root |
private DatabeanManagerFactory |
databeanManagerFactory
Stores a reference to the data bean manager factory to use |
protected static java.util.logging.Logger |
logger
Stores a reference to the logger |
Constructor Summary | |
---|---|
DatabeanManagerFactoryConfig()
|
Method Summary | |
---|---|
DatabeanManagerFactory |
getDatabeanManagerFactory()
|
private void |
initialise()
Initialises the config details from the loaded config root |
void |
initialiseFromResourceStream(java.lang.String resourceLocation)
Initialises the DatabeanManagerFactoryConfig parsing in the details from the specified config file |
void |
initialiseFromXML(java.lang.String xml)
Initialises the DatabeanManagerFactoryConfig parsing in the details from the specified xml |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static java.util.logging.Logger logger
private org.w3c.dom.Node configRoot
private DatabeanManagerFactory databeanManagerFactory
Constructor Detail |
---|
public DatabeanManagerFactoryConfig()
Method Detail |
---|
public void initialiseFromXML(java.lang.String xml) throws JaferException
xml
- The XML to process
JaferException
public void initialiseFromResourceStream(java.lang.String resourceLocation) throws JaferException
resourceLocation
- The location of the resource in the distribution
that will be retrieved as a stream using
class.getResourceAsStream() to load the databeanmanager config
details
JaferException
private void initialise() throws JaferException
JaferException
public DatabeanManagerFactory getDatabeanManagerFactory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |