org.apache.shiro.util
Interface Destroyable

All Known Implementing Classes:
AbstractCacheManager, AbstractValidatingSessionManager, AuthenticatingSecurityManager, AuthorizingSecurityManager, CachingSecurityManager, DefaultEnvironment, DefaultSecurityManager, DefaultSessionManager, DefaultWebEnvironment, DefaultWebSecurityManager, DefaultWebSessionManager, EhCacheManager, IniWebEnvironment, MemoryConstrainedCacheManager, PropertiesRealm, RealmSecurityManager, ResourceBasedWebEnvironment, SessionsSecurityManager, ShiroModule, ShiroWebModule

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-2014 The Apache Software Foundation. All Rights Reserved.