org.alfresco.repo.node.cleanup
Class NodeCleanupRegistry

java.lang.Object
  extended by org.alfresco.repo.node.cleanup.NodeCleanupRegistry
All Implemented Interfaces:
NodeCleanupWorker

public class NodeCleanupRegistry
extends java.lang.Object
implements NodeCleanupWorker

A worker that aggregates any number of registered workers.

Since:
2.2 SP2

Constructor Summary
NodeCleanupRegistry()
           
 
Method Summary
 java.util.List doClean()
          Calls all registered cleaners in order, without transactions or authentication.
 void register(NodeCleanupWorker cleanupWorker)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeCleanupRegistry

public NodeCleanupRegistry()
Method Detail

register

public void register(NodeCleanupWorker cleanupWorker)

doClean

public java.util.List doClean()
Calls all registered cleaners in order, without transactions or authentication. The return messages are aggregated.

Specified by:
doClean in interface NodeCleanupWorker
Returns:
Returns a list of informational messages.


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.