org.apache.shiro.util
Interface Destroyable

All Known Implementing Classes:
AbstractCacheManager, AbstractValidatingSessionManager, AuthenticatingSecurityManager, AuthorizingSecurityManager, CachingSecurityManager, DefaultEnvironment, DefaultSecurityManager, DefaultSessionManager, MemoryConstrainedCacheManager, PropertiesRealm, RealmSecurityManager, SessionsSecurityManager

public interface Destroyable

Shiro container-agnostic interface that indicates that this object requires a callback during destruction.

Since:
0.2

Method Summary
 void destroy()
          Called when this object is being destroyed, allowing any necessary cleanup of internal resources.
 

Method Detail

destroy

void destroy()
             throws Exception
Called when this object is being destroyed, allowing any necessary cleanup of internal resources.

Throws:
Exception - if an exception occurs during object destruction.


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