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:
Roy Wetherall
2013-08-06 00:38:21 +00:00
parent c23af46cd4
commit d4ee34041f

View File

@@ -32,8 +32,11 @@ import org.apache.commons.logging.LogFactory;
public abstract class ModulePatchComponent extends AbstractModuleComponent
{
/** 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
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;
}