|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.meta.info.Descriptor
org.apache.avalon.meta.info.SecurityDescriptor
This class is used to provide security information to assembler and administrator about the component type.
The SecurityDescriptor also includes an arbitrary set of attributes about component. Usually these are container specific attributes that can store arbitrary information. The attributes should be stored with keys based on package name of container.
Constructor Summary | |
SecurityDescriptor(PermissionDescriptor[] permissions,
Properties attributes)
Creation of a new info descriptor using a supplied name, key, version and attribute set. |
Method Summary | |
boolean |
equals(Object other)
Test is the supplied object is equal to this object. |
PermissionDescriptor[] |
getPermissions()
Return the set of permissions requested by the component type. |
int |
hashCode()
Return the hashcode for the object. |
String |
toString()
|
Methods inherited from class org.apache.avalon.meta.info.Descriptor |
getAttribute, getAttribute, getAttributeNames, getProperties |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SecurityDescriptor(PermissionDescriptor[] permissions, Properties attributes)
permissions
- the set of permissionsattributes
- supplimentary security attributesMethod Detail |
public PermissionDescriptor[] getPermissions()
public boolean equals(Object other)
equals
in class Descriptor
other
- the object to compare this object with
public int hashCode()
hashCode
in class Descriptor
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |