public class PolicyHandleCache
extends java.lang.Object
Constructor and Description |
---|
PolicyHandleCache()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addHandle(java.lang.String name,
PolicyHandle handle)
Add a handle to the cache
|
java.util.Enumeration |
enumerateHandles()
Enumerate the handles in the cache
|
PolicyHandle |
findHandle(java.lang.String index)
Return the handle for the specified index
|
int |
numberOfHandles()
Return the number of handles in the cache
|
void |
removeAllHandles()
Clear all handles from the cache
|
PolicyHandle |
removeHandle(java.lang.String index)
Delete a handle from the cache
|
public final int numberOfHandles()
public final void addHandle(java.lang.String name, PolicyHandle handle)
name
- Stringhandle
- PolicyHandlepublic final PolicyHandle findHandle(java.lang.String index)
index
- Stringpublic final PolicyHandle removeHandle(java.lang.String index)
index
- Stringpublic final java.util.Enumeration enumerateHandles()
public final void removeAllHandles()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.