|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Aspectalizable
This interface marks an object that can be used by aspects. An aspect can store any arbitrary information in an aspectalizable object.
Method Summary | |
---|---|
void |
addPersistentAspectData(String aspectName,
Object data)
|
Object |
getAspectData(String aspectName)
Get the data associated with an aspect |
Map |
getAspectDatas()
Return all aspect datas |
Map |
getPersistentAspectData()
Return all persistent aspect datas |
boolean |
isAspectSupported(String aspectName)
Is this aspect supported |
void |
setAspectData(String aspectName,
Object data)
Set the data associated with an aspect The data is only set if the object is associated with the given aspect |
void |
setAspectDataHandler(AspectDataHandler handler)
This method is invoked once to set the handler |
Method Detail |
---|
Object getAspectData(String aspectName)
aspectName
- The aspect name
void setAspectData(String aspectName, Object data)
aspectName
- The aspect namedata
- The dataMap getAspectDatas()
Map getPersistentAspectData()
void addPersistentAspectData(String aspectName, Object data)
boolean isAspectSupported(String aspectName)
void setAspectDataHandler(AspectDataHandler handler)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |