|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jalios.jcms.ChannelListener
public abstract class ChannelListener
A listener called during the Channel life cycle.
Field Summary | |
---|---|
protected int |
order
|
static String |
REVISION
|
Constructor Summary | |
---|---|
ChannelListener()
Constructs a ChannelListener with order = 0 |
|
ChannelListener(int order)
Constructs a ChannelListener with the given order |
Method Summary | |
---|---|
int |
compareTo(Object obj)
Compare this object with the specified object for order. |
boolean |
equals(Object obj)
Indicates wheter some other object is "equal to" this one. |
abstract void |
handleFinalize()
Called when the channel is finalized |
boolean |
init(Plugin plugin)
Initialize the component with the given plugin configuration |
abstract void |
initAfterStoreLoad()
Called just after the store has been loaded and the channel has been initialized. |
abstract void |
initBeforeStoreLoad()
Called just before the store has been loaded. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String REVISION
protected int order
Constructor Detail |
---|
public ChannelListener()
public ChannelListener(int order)
order
- the orderMethod Detail |
---|
public int compareTo(Object obj)
compareTo
in interface Comparable
obj
- the Object to be compared.Comparable.compareTo(java.lang.Object)
public boolean equals(Object obj)
equals
in class Object
obj
- the Object to be compared.public boolean init(Plugin plugin)
PluginComponent
init
in interface PluginComponent
plugin
- the calling plugin
public abstract void handleFinalize()
public abstract void initBeforeStoreLoad() throws Exception
Exception
- any exception you may want to throw if a problem occurs needing to interrupt JCMS startup.public abstract void initAfterStoreLoad() throws Exception
Exception
- any exception you may want to throw if a problem occurs needing to interrupt JCMS startup.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |