org.ow2.jonas.deployment.common
Class AbsDeploymentDesc

java.lang.Object
  extended by org.ow2.jonas.deployment.common.AbsDeploymentDesc
All Implemented Interfaces:
IDeploymentDesc
Direct Known Subclasses:
ClusterDaemonConfiguration, DomainMap, EarDeploymentDesc, RarDeploymentDesc, WSDeploymentDesc

public abstract class AbsDeploymentDesc
extends Object
implements IDeploymentDesc

This class provides an abstract implementation of the DeploymentDescriptor interface of JOnAS

Author:
Ludovic Bert, Florent Benoit

Field Summary
protected  String displayName
          The displayName field
 
Constructor Summary
AbsDeploymentDesc()
           
 
Method Summary
 String getDisplayName()
          Get the display name of the deployment descriptor.
protected static String getSAXMsg(String fileName, SAXParseException exception, String msg)
          build a message from SAX Exception in a consistent style, consistent with emacs compile mode (same as grep, cc, javac, etc).
abstract  String toString()
          Return a String representation of the DeploymentDesc.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

displayName

protected String displayName
The displayName field

Constructor Detail

AbsDeploymentDesc

public AbsDeploymentDesc()
Method Detail

getDisplayName

public String getDisplayName()
Get the display name of the deployment descriptor.

Specified by:
getDisplayName in interface IDeploymentDesc
Returns:
the display name of the deployment descriptor.

toString

public abstract String toString()
Return a String representation of the DeploymentDesc.

Specified by:
toString in interface IDeploymentDesc
Overrides:
toString in class Object
Returns:
a String representation of the DeploymentDesc.

getSAXMsg

protected static String getSAXMsg(String fileName,
                                  SAXParseException exception,
                                  String msg)
build a message from SAX Exception in a consistent style, consistent with emacs compile mode (same as grep, cc, javac, etc).

Parameters:
fileName - name of the file
exception - the SAX exception
msg - the string message
Returns:
a message which is in a consistent style


Copyright © 2010 OW2 Consortium. All Rights Reserved.