org.ow2.easybeans.client.xml
Class ApplicationClientLoader

java.lang.Object
  extended by org.ow2.easybeans.client.xml.ApplicationClientLoader

public final class ApplicationClientLoader
extends java.lang.Object

Class used to fill ApplicationClient implementation class by loading an XML.

Author:
Florent Benoit

Method Summary
static ApplicationClient loadApplicationClient(java.io.File archive)
          Detects and analyze the META-INF/application-client.xml file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadApplicationClient

public static ApplicationClient loadApplicationClient(java.io.File archive)
                                               throws ParsingException
Detects and analyze the META-INF/application-client.xml file.

Parameters:
archive - the file to analyze (or directory) in order to find a application-client.xml file.
Returns:
an application object.
Throws:
ParsingException - if parsing of XML file fails.


Copyright © 2006-2007 OW2 Consortium. All Rights Reserved.