public abstract class ChannelListener extends java.lang.Object implements java.lang.Comparable, PluginComponent
Modifier and Type | Field and Description |
---|---|
protected int |
order |
static java.lang.String |
REVISION |
Constructor and Description |
---|
ChannelListener()
Constructs a ChannelListener with order = 0
|
ChannelListener(int order)
Constructs a ChannelListener with the given order
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object obj)
Compare this object with the specified object for order.
|
boolean |
equals(java.lang.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.
|
public static final java.lang.String REVISION
protected int order
public ChannelListener()
public ChannelListener(int order)
order
- the orderpublic int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
obj
- the Object to be compared.Comparable.compareTo(java.lang.Object)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the Object to be compared.public boolean init(Plugin plugin)
PluginComponent
init
in interface PluginComponent
plugin
- the calling pluginpublic abstract void handleFinalize()
public abstract void initBeforeStoreLoad() throws java.lang.Exception
java.lang.Exception
- any exception you may want to throw if a problem occurs needing to interrupt JCMS startup.public abstract void initAfterStoreLoad() throws java.lang.Exception
java.lang.Exception
- any exception you may want to throw if a problem occurs needing to interrupt JCMS startup.Copyright © 2001-2010 Jalios SA. All Rights Reserved.