Package com.jalios.jcms.application
Class DefaultApplicationChannelListener
- java.lang.Object
-
- com.jalios.jcms.ChannelListener
-
- com.jalios.jcms.application.DefaultApplicationChannelListener
-
- All Implemented Interfaces:
PluginComponent
,java.lang.Comparable
public class DefaultApplicationChannelListener extends ChannelListener
Channel listener which creates default application- Since:
- jcms-10.0.3
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
APPLICATION_ADMIN_VID
static java.lang.String
APPLICATION_APPSTORE_VID
static java.lang.String
APPLICATION_WORKSPACE_VID
-
Fields inherited from class com.jalios.jcms.ChannelListener
order
-
-
Constructor Summary
Constructors Constructor Description DefaultApplicationChannelListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleFinalize()
Called when the channel is finalizedvoid
initAfterStoreLoad()
Called just after the store has been loaded and the channel has been initialized.void
initBeforeStoreLoad()
Called just before the store has been loaded.-
Methods inherited from class com.jalios.jcms.ChannelListener
compareTo, equals, init, initAfterStartup, initBeforeHibernateFactoryBuild
-
-
-
-
Field Detail
-
APPLICATION_WORKSPACE_VID
public static final java.lang.String APPLICATION_WORKSPACE_VID
- See Also:
- Constant Field Values
-
APPLICATION_ADMIN_VID
public static final java.lang.String APPLICATION_ADMIN_VID
- See Also:
- Constant Field Values
-
APPLICATION_APPSTORE_VID
public static final java.lang.String APPLICATION_APPSTORE_VID
- See Also:
- Constant Field Values
-
-
Method Detail
-
initAfterStoreLoad
public void initAfterStoreLoad() throws java.lang.Exception
Description copied from class:ChannelListener
Called just after the store has been loaded and the channel has been initialized. If for any reason you want to interrupt JCMS startup, you can throw an exception. The exception's message will be displayed in JCMS status page (to any user!).- Overrides:
initAfterStoreLoad
in classChannelListener
- Throws:
java.lang.Exception
- any exception you may want to throw if a problem occurs needing to interrupt JCMS startup.
-
handleFinalize
public void handleFinalize()
Description copied from class:ChannelListener
Called when the channel is finalized- Overrides:
handleFinalize
in classChannelListener
-
initBeforeStoreLoad
public void initBeforeStoreLoad() throws java.lang.Exception
Description copied from class:ChannelListener
Called just before the store has been loaded. If for any reason you want to interrupt JCMS startup, you can throw an exception. The exception's message will be displayed in JCMS status page (to any user!).- Overrides:
initBeforeStoreLoad
in classChannelListener
- Throws:
java.lang.Exception
- any exception you may want to throw if a problem occurs needing to interrupt JCMS startup.
-
-