|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.client.xml.ApplicationClientLoader
public final class ApplicationClientLoader
Class used to fill ApplicationClient implementation class by loading an XML.
Field Summary | |
---|---|
private static java.lang.String |
APPLICATION_CLIENT_XML_FILE
Name of the persistence.xml file. |
private static java.lang.String |
DIRECTORY_APPLICATION_CLIENT_XML_FILE
Directory where application-client.xml file should be. |
private static java.lang.String |
EJB_REF
<ejb-ref> element. |
private static java.lang.String |
JAVAEE_NS
Persistence namespace. |
private static JLog |
logger
Logger. |
private static boolean |
validating
Validating with schema ? |
Constructor Summary | |
---|---|
private |
ApplicationClientLoader()
Utility class, no public constructor. |
Method Summary | |
---|---|
static ApplicationClient |
loadApplicationClient(java.io.File archive)
Detects and analyze the META-INF/application-client.xml file. |
private static ApplicationClient |
loadXML(java.net.URL url)
Load the application-client.xml file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.lang.String JAVAEE_NS
private static final java.lang.String EJB_REF
private static final java.lang.String DIRECTORY_APPLICATION_CLIENT_XML_FILE
private static final java.lang.String APPLICATION_CLIENT_XML_FILE
private static JLog logger
private static boolean validating
Constructor Detail |
---|
private ApplicationClientLoader()
Method Detail |
---|
private static ApplicationClient loadXML(java.net.URL url) throws ParsingException
url
- the URL of the the Reader of the XML file.
ParsingException
- if parsing of XML file fails.public static ApplicationClient loadApplicationClient(java.io.File archive) throws ParsingException
archive
- the file to analyze (or directory) in order to find a
application-client.xml file.
ParsingException
- if parsing of XML file fails.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |