Package com.sun.enterprise.deployment
Class MethodPermissionDescriptor
- java.lang.Object
-
- java.util.Observable
-
- org.glassfish.deployment.common.DynamicAttributesDescriptor
-
- org.glassfish.deployment.common.Descriptor
-
- com.sun.enterprise.deployment.DescribableDescriptor
-
- com.sun.enterprise.deployment.MethodPermissionDescriptor
-
- All Implemented Interfaces:
Serializable
public class MethodPermissionDescriptor extends DescribableDescriptor
This class defines a method permission information in the assembly descriptor- Version:
- Author:
- Jerome Dochez
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.glassfish.deployment.common.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
-
-
Constructor Summary
Constructors Constructor Description MethodPermissionDescriptor()Creates new MethodPermissionDescriptor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMethod(MethodDescriptor aMethod)voidaddMethodPermission(MethodPermission mp)voidaddMethods(Collection methods)MethodPermission[]getMethodPermissions()MethodDescriptor[]getMethods()voidprint(StringBuilder toStringBuilder)A String representation of this object.-
Methods inherited from class com.sun.enterprise.deployment.DescribableDescriptor
getDescription, setDescription
-
Methods inherited from class org.glassfish.deployment.common.Descriptor
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visit
-
Methods inherited from class org.glassfish.deployment.common.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
-
-
-
Method Detail
-
addMethod
public void addMethod(MethodDescriptor aMethod)
-
addMethods
public void addMethods(Collection methods)
-
addMethodPermission
public void addMethodPermission(MethodPermission mp)
-
getMethods
public MethodDescriptor[] getMethods()
-
getMethodPermissions
public MethodPermission[] getMethodPermissions()
-
print
public void print(StringBuilder toStringBuilder)
Description copied from class:DescriptorA String representation of this object.- Overrides:
printin classDescriptor
-
-