org.broadleafcommerce.core.extension
Class AbstractExtensionHandler
java.lang.Object
org.broadleafcommerce.core.extension.AbstractExtensionHandler
- All Implemented Interfaces:
- ExtensionHandler
- Direct Known Subclasses:
- AbstractMergeCartServiceExtensionHandler, AbstractOfferServiceExtensionHandler, AbstractOrderDaoExtensionHandler, AbstractOrderServiceExtensionHandler, AbstractSolrSearchServiceExtensionHandler
public abstract class AbstractExtensionHandler
- extends Object
- implements ExtensionHandler
Base ExtensionHandler class that provide basic extension handler properties including
priority (which drives the execution order of handlers) and enabled (which if false informs the
manager to skip this handler).
- Author:
- bpolster
|
Method Summary |
int |
getPriority()
Determines the priority of this extension handler. |
boolean |
isEnabled()
If false, the ExtensionManager should skip this Handler. |
void |
setEnabled(boolean enabled)
|
void |
setPriority(int priority)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractExtensionHandler
public AbstractExtensionHandler()
getPriority
public int getPriority()
- Determines the priority of this extension handler.
- Specified by:
getPriority in interface ExtensionHandler
- Returns:
setPriority
public void setPriority(int priority)
isEnabled
public boolean isEnabled()
- Description copied from interface:
ExtensionHandler
- If false, the ExtensionManager should skip this Handler.
- Specified by:
isEnabled in interface ExtensionHandler
- Returns:
setEnabled
public void setEnabled(boolean enabled)
Copyright © 2013. All Rights Reserved.