org.clazzes.remoting
Interface Destroyable

All Known Implementing Classes:
RemotingClassLoader, ReturnCallbackInvocationHandler

public interface Destroyable

An interface for beans, which need a cleanup code.

Author:
wglas

Method Summary
 void destroy()
          Cleanup internal resources.
 

Method Detail

destroy

void destroy()
Cleanup internal resources. An implementation must be safe to be called twice. Any error should be logged rather than thrown as exceptions. If this bean implements Initializable too, the general contract is, that after calling this method, Initializable.isInitialized() returns false.



Copyright © 2010. All Rights Reserved.