@ManagedResource public class EHCacheIdentityCache extends AbstractIdentityCache implements Closeable, BusLifeCycleListener
| Constructor and Description |
|---|
EHCacheIdentityCache(IdentityMapper identityMapper,
Bus b) |
EHCacheIdentityCache(IdentityMapper identityMapper,
String key,
Bus b,
URL configFileURL) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String user,
String realm,
Map<String,String> identities) |
void |
clear() |
void |
close() |
Map<String,String> |
get(String user,
String realm) |
String |
getContent() |
ObjectName |
getObjectName() |
void |
initComplete()
Invoked when the
Bus has been initialized. |
void |
postShutdown()
Invoked after the
Bus is shutdown. |
void |
preShutdown()
Invoked before the
Bus is shutdown. |
void |
remove(String user,
String realm) |
int |
size() |
getBus, getStatistics, mapPrincipal, setStatisticspublic EHCacheIdentityCache(IdentityMapper identityMapper, Bus b)
public EHCacheIdentityCache(IdentityMapper identityMapper, String key, Bus b, URL configFileURL)
public void add(String user, String realm, Map<String,String> identities)
add in interface IdentityCache@ManagedOperation public Map<String,String> get(String user, String realm)
get in interface IdentityCachepublic void remove(String user, String realm)
remove in interface IdentityCache@ManagedOperation public void clear()
clear in interface IdentityCache@ManagedOperation public int size()
size in interface IdentityCache@ManagedOperation public String getContent()
public void close()
close in interface Closeableclose in interface AutoCloseablepublic void initComplete()
BusLifeCycleListenerBus has been initialized.initComplete in interface BusLifeCycleListenerpublic void preShutdown()
BusLifeCycleListenerBus is shutdown.preShutdown in interface BusLifeCycleListenerpublic void postShutdown()
BusLifeCycleListenerBus is shutdown.postShutdown in interface BusLifeCycleListenerpublic ObjectName getObjectName() throws JMException
getObjectName in interface ManagedComponentJMExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.