|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--org.apache.avalon.phoenix.BlockEvent
This is the class that is used to deliver notifications
about Block
s state changes to the
BlockListener
s of a Server Application.
Field Summary |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
BlockEvent(String name,
Object block,
BlockInfo blockInfo)
Construct the BlockEvent. |
Method Summary | |
Block |
getBlock()
Deprecated. Use getObject() instead as this may cause a ClassCastException |
BlockInfo |
getBlockInfo()
Retrieve the BlockInfo for block. |
String |
getName()
Retrieve name of block. |
Object |
getObject()
Retrieve the block instance. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BlockEvent(String name, Object block, BlockInfo blockInfo)
name
- the name of blockblock
- the block objectblockInfo
- the BlockInfo object for blockMethod Detail |
public String getName()
public Object getObject()
public Block getBlock()
public BlockInfo getBlockInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |