|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gigaspaces.security.authorities.SpaceAuthority.ClassFilter
public static class SpaceAuthority.ClassFilter
Class filter accepting only the defined class-name.
Constructor Summary | |
---|---|
SpaceAuthority.ClassFilter(String className)
|
Method Summary | |
---|---|
boolean |
accept(Object other)
Tests whether or not the object is acceptable. |
boolean |
accept(String otherClassName)
Tests whether or not the string is acceptable. |
String |
getClassName()
|
String |
getExpression()
The wildcard expression representing this filter. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SpaceAuthority.ClassFilter(String className)
Method Detail |
---|
public String getClassName()
public String toString()
toString
in class Object
public boolean accept(String otherClassName)
SpaceAuthority.Filter
accept
in interface SpaceAuthority.Filter
otherClassName
- a string as used to construct the filter.
true
if and only if the filter accepts the the given string;
false
otherwise.public boolean accept(Object other)
SpaceAuthority.Filter
accept
in interface SpaceAuthority.Filter
other
- an object to accept, possibly holding extra acceptance info.
true
if and only if the filter accepts the the given input;
false
otherwise.public String getExpression()
SpaceAuthority.Filter
getExpression
in interface SpaceAuthority.Filter
|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |