|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CapabilityContext
Allows the ability to retrieve a capability set specific to the context it is called from. Capabilty set is stored in ThreadLocal.
Method Summary | |
---|---|
void |
clearCapabilitySet()
Removes whatever is currently stored in thread local |
ReadOnlyCapabilitySet |
getCapabilitySet()
Retrieves the capability set currently stored within the context, If empty the shared local (server) capabilities are returned |
void |
setCapabilitySet(ReadOnlyCapabilitySet capabilitySet)
Stores a specific cabability set within the ThreadLocal |
Method Detail |
---|
@Nullable ReadOnlyCapabilitySet getCapabilitySet()
void setCapabilitySet(@Nullable ReadOnlyCapabilitySet capabilitySet)
capabilitySet
- void clearCapabilitySet()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |