com.zeroturnaround.liverebel.util
Interface AppXmlHandler


public interface AppXmlHandler

An application.xml XML event handler.

The application.xml file is the deployment descriptor for Enterprise Application Archives (EAR). It is located under META-INF sub-directory of an EAR.

Author:
Rein Raudjärv
See Also:
AppXmlParser

Method Summary
 void description(String description)
          The optional description element provides descriptive text about the application.
 void displayName(String displayName)
          Optional.
 void ejb(String path)
          Defines an EJB module in the application file.
 void java(String path)
          Defines a client application module in the application file.
 void libraryDirectory(String libraryDirectory)
          The optional library-directory element specifies the location of the library directory (by default "lib").
 void web(String path, String contextRoot)
          Defines a Web application module in the application file.
 

Method Detail

displayName

void displayName(String displayName)
Optional. The display-name element specifies the application display name, a short name that is intended to be displayed by GUI tools.


description

void description(String description)
The optional description element provides descriptive text about the application.


libraryDirectory

void libraryDirectory(String libraryDirectory)
The optional library-directory element specifies the location of the library directory (by default "lib").


ejb

void ejb(String path)
Defines an EJB module in the application file.

Parameters:
path - the path to an EJB JAR file in the application.

java

void java(String path)
Defines a client application module in the application file.

Parameters:
path - the path to a client application JAR file in the application.

web

void web(String path,
         String contextRoot)
Defines a Web application module in the application file.

Parameters:
path - Defines the location of a Web module in the application file. This is the name of the .war file.
contextRoot - Required. Specifies a context root for the Web application.


Copyright © 2013. All Rights Reserved.