|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfr.improve.xdi.IntegratorFactory
Import / Export Factory
Before using XDI you must define the mapping tool EOF or Hibernate :
| Field Summary | |
static int |
EOF
|
static int |
HIBERNATE
|
| Constructor Summary | |
IntegratorFactory()
|
|
| Method Summary | |
EnterpriseContext |
getEnterpriseContext()
Get the EnterpriseContext implementation |
static IntegratorFactory |
getInstance()
Singleton pattern |
XMLDecoder |
newDecoder()
Get the XML decoder used by the import controller |
XMLEncoder |
newEncoder()
Get the export controller |
Integrator |
newIntegrator()
Get the import controller |
static void |
setIntegratorProperties(java.io.InputStream in_stream)
Set the implementation properties file |
static void |
setMapping(int in_type)
Set the mapping tool |
static void |
setMappingProperties(java.net.URL in_url)
Set the hibernate mapping XML file |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int EOF
public static final int HIBERNATE
| Constructor Detail |
public IntegratorFactory()
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException - : if an implementation class is not found| Method Detail |
public static void setIntegratorProperties(java.io.InputStream in_stream)
throws java.io.IOException
in_stream -
java.io.IOException
public static void setMappingProperties(java.net.URL in_url)
throws java.io.IOException
in_url -
java.io.IOExceptionpublic static void setMapping(int in_type)
in_type - : EOF for EOF, HIBERNATE for Hibernate
public static IntegratorFactory getInstance()
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public EnterpriseContext getEnterpriseContext()
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.IllegalAccessExceptionfr.improve.mapping.EnterpriseContext
public Integrator newIntegrator()
throws javax.xml.parsers.ParserConfigurationException,
java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.io.IOException,
java.lang.ClassNotFoundException
javax.xml.parsers.ParserConfigurationException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.io.IOException
java.lang.ClassNotFoundException
public XMLEncoder newEncoder()
throws java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
public XMLDecoder newDecoder()
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.IllegalAccessException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||