com.sun.enterprise.deployment
Class DeploymentExtensionDescriptor

java.lang.Object
  extended by java.util.Observable
      extended by com.sun.enterprise.deployment.DeploymentExtensionDescriptor
All Implemented Interfaces:
java.io.Serializable

public class DeploymentExtensionDescriptor
extends java.util.Observable
implements java.io.Serializable

This class contains all the information for the deployment extension elements found in deployment descriptors since J2EE 1.4

Author:
Jerome Dochez
See Also:
Serialized Form

Constructor Summary
DeploymentExtensionDescriptor()
          Creates a new instance of DeploymentExtensionDescriptor
 
Method Summary
 void addElement(ExtensionElementDescriptor newElement)
          Add a deployment extension element to his deployment extension
 java.util.Iterator elements()
           
 boolean getMustUnderstand()
           
 java.lang.String getNameSpace()
           
 void print(java.lang.StringBuffer toStringBuffer)
           
 void setMustUnderstand(boolean mustUnderstand)
          Sets the mustUnderstand flag
 void setNameSpace(java.lang.String nameSpace)
          Sets the namespace for this deployment entension
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentExtensionDescriptor

public DeploymentExtensionDescriptor()
Creates a new instance of DeploymentExtensionDescriptor

Method Detail

setNameSpace

public void setNameSpace(java.lang.String nameSpace)
Sets the namespace for this deployment entension

Parameters:
the - namespace

getNameSpace

public java.lang.String getNameSpace()
Returns:
the namespace for this deployment extension

setMustUnderstand

public void setMustUnderstand(boolean mustUnderstand)
Sets the mustUnderstand flag


getMustUnderstand

public boolean getMustUnderstand()
Returns:
true if this deployment extension must be understood

addElement

public void addElement(ExtensionElementDescriptor newElement)
Add a deployment extension element to his deployment extension

Parameters:
the - new deployment extension

elements

public java.util.Iterator elements()
Returns:
an iterator on all the deployment extension elements

print

public void print(java.lang.StringBuffer toStringBuffer)


Copyright © 2012 GlassFish Community. All Rights Reserved.