mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM: make logger protected so can be reused in other module patches
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@53626 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -32,8 +32,11 @@ import org.apache.commons.logging.LogFactory;
|
|||||||
public abstract class ModulePatchComponent extends AbstractModuleComponent
|
public abstract class ModulePatchComponent extends AbstractModuleComponent
|
||||||
{
|
{
|
||||||
/** logger */
|
/** logger */
|
||||||
private static Log logger = LogFactory.getLog(ModulePatchComponent.class);
|
protected static Log logger = LogFactory.getLog(ModulePatchComponent.class);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see org.alfresco.repo.module.AbstractModuleComponent#executeInternal()
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected void executeInternal() throws Throwable
|
protected void executeInternal() throws Throwable
|
||||||
{
|
{
|
||||||
@@ -54,5 +57,10 @@ public abstract class ModulePatchComponent extends AbstractModuleComponent
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Execute patch work.
|
||||||
|
*
|
||||||
|
* @throws Throwable
|
||||||
|
*/
|
||||||
protected abstract void executePatch() throws Throwable;
|
protected abstract void executePatch() throws Throwable;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user