org.objectweb.jonas_lib.deployment
Class AbsDeploymentDesc
java.lang.Object
|
+--org.objectweb.jonas_lib.deployment.AbsDeploymentDesc
- All Implemented Interfaces:
- DeploymentDesc
- Direct Known Subclasses:
- EarDeploymentDesc, RarDeploymentDesc, WebContainerDeploymentDesc
- public abstract class AbsDeploymentDesc
- extends java.lang.Object
- implements DeploymentDesc
This class provides an abstract implementation of the
DeploymentDescriptor interface of JOnAS
- Author:
- Ludovic Bert, Florent Benoit
Field Summary |
protected java.lang.String |
displayName
the displayName field |
Method Summary |
java.lang.String |
getDisplayName()
Get the display name of the deployment descriptor. |
protected static java.lang.String |
getSAXMsg(java.lang.String fileName,
org.xml.sax.SAXParseException exception,
java.lang.String msg)
build a message from SAX Exception in a consistent style, consistent
with emacs compile mode (same as grep, cc, javac, etc). |
abstract java.lang.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 |
displayName
protected java.lang.String displayName
- the displayName field
AbsDeploymentDesc
public AbsDeploymentDesc()
getDisplayName
public java.lang.String getDisplayName()
- Get the display name of the deployment descriptor.
- Specified by:
getDisplayName
in interface DeploymentDesc
- Returns:
- the display name of the deployment descriptor.
toString
public abstract java.lang.String toString()
- Return a String representation of the DeploymentDesc.
- Specified by:
toString
in interface DeploymentDesc
- Overrides:
toString
in class java.lang.Object
- Returns:
- a String representation of the DeploymentDesc.
getSAXMsg
protected static java.lang.String getSAXMsg(java.lang.String fileName,
org.xml.sax.SAXParseException exception,
java.lang.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 fileexception
- the SAX exceptionmsg
- the string message- Returns:
- a message which is in a consistent style