org.springframework.security.oauth.provider.token
Interface OAuthTokenLifecycleRegistry

All Known Implementing Classes:
InMemoryProviderTokenServices, InMemorySelfCleaningProviderTokenServices, RandomValueProviderTokenServices

public interface OAuthTokenLifecycleRegistry

Interface for a registry of token lifecycle listeners.

Author:
Ryan Heaton

Method Summary
 Collection<OAuthTokenLifecycleListener> getLifecycleListeners()
          The collection of lifecycle listeners for this registry.
 void register(OAuthTokenLifecycleListener... lifecycleListeners)
          Register lifecycle listener(s) with this registry.
 

Method Detail

getLifecycleListeners

Collection<OAuthTokenLifecycleListener> getLifecycleListeners()
The collection of lifecycle listeners for this registry.

Returns:
The collection of lifecycle listeners for this registry.

register

@Autowired(required=false)
void register(OAuthTokenLifecycleListener... lifecycleListeners)
Register lifecycle listener(s) with this registry.

Parameters:
lifecycleListeners - The listeners.


Copyright © 2012. All Rights Reserved.