org.apache.axis2.transport.base.threads
Interface ThreadCleanup


public interface ThreadCleanup

If certain Threads in a ThreadPool need to be cleaned up before being reused, an implementation of this interface should be provided so that the relevant cleaning up could be performed. An instance of the implementation class of this interface should be added to ThreadCleanupContainer.addThreadCleanup(ThreadCleanup) Typical items that will be cleaned up will include ThreadLocal variables

See Also:
ThreadCleanupContainer

Method Summary
 void cleanup()
          Cleanup the Threads
 

Method Detail

cleanup

void cleanup()
Cleanup the Threads



Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.