com.sun.enterprise.deployment
Class MethodPermissionDescriptor

java.lang.Object
  extended by java.util.Observable
      extended by com.sun.enterprise.deployment.DynamicAttributesDescriptor
          extended by com.sun.enterprise.deployment.Descriptor
              extended by com.sun.enterprise.deployment.DescribableDescriptor
                  extended by com.sun.enterprise.deployment.MethodPermissionDescriptor
All Implemented Interfaces:
java.io.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 com.sun.enterprise.deployment.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
 
Constructor Summary
MethodPermissionDescriptor()
          Creates new MethodPermissionDescriptor
 
Method Summary
 void addMethod(MethodDescriptor aMethod)
           
 void addMethodPermission(MethodPermission mp)
           
 void addMethods(java.util.Collection methods)
           
 MethodPermission[] getMethodPermissions()
           
 MethodDescriptor[] getMethods()
           
 void print(java.lang.StringBuffer toStringBuffer)
          A String representation of this object.
 
Methods inherited from class com.sun.enterprise.deployment.DescribableDescriptor
getDescription, setDescription
 
Methods inherited from class com.sun.enterprise.deployment.Descriptor
addDeploymentExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, 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 com.sun.enterprise.deployment.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
 
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, wait, wait, wait
 

Constructor Detail

MethodPermissionDescriptor

public MethodPermissionDescriptor()
Creates new MethodPermissionDescriptor

Method Detail

addMethod

public void addMethod(MethodDescriptor aMethod)

addMethods

public void addMethods(java.util.Collection methods)

addMethodPermission

public void addMethodPermission(MethodPermission mp)

getMethods

public MethodDescriptor[] getMethods()

getMethodPermissions

public MethodPermission[] getMethodPermissions()

print

public void print(java.lang.StringBuffer toStringBuffer)
Description copied from class: Descriptor
A String representation of this object.

Overrides:
print in class Descriptor


Copyright © 2012 GlassFish Community. All Rights Reserved.