|
||||||||||
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(java.lang.String name,
java.lang.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. |
java.lang.String |
getName()
Retrieve name of block. |
java.lang.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(java.lang.String name, java.lang.Object block, BlockInfo blockInfo)
name
- the name of blockblock
- the block objectblockInfo
- the BlockInfo object for blockMethod Detail |
public java.lang.String getName()
public java.lang.Object getObject()
public Block getBlock()
public BlockInfo getBlockInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |