|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
org.glassfish.deployment.common.DynamicAttributesDescriptor
public class DynamicAttributesDescriptor
This class is a value holder for dynamic attributes. Dynamic attributes can be added, queried and removed from this value holder. Attributes are identified by a string key.
| Constructor Summary | |
|---|---|
DynamicAttributesDescriptor()
|
|
| Method Summary | |
|---|---|
void |
addExtraAttribute(String name,
Object value)
Add a new dynamic attribte |
Object |
getExtraAttribute(String name)
Obtain a dynamic attribute from the repository |
Map |
getExtraAttributes()
Direct acess to the dynamic attributes repository |
void |
print(StringBuffer toStringBuffer)
|
void |
removeExtraAttribute(String name)
Removes a dynamic attribute from the repository |
String |
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 |
|---|
public DynamicAttributesDescriptor()
| Method Detail |
|---|
public Map getExtraAttributes()
public void addExtraAttribute(String name,
Object value)
name - the attribute namevalue - the attribute valuepublic Object getExtraAttribute(String name)
name - the attribute name
public void removeExtraAttribute(String name)
name - the attribute namepublic void print(StringBuffer toStringBuffer)
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||