GigaSpaces XAP 7.0 API

com.gigaspaces.security.authorities
Class SpaceAuthority.NegatePackageFilter

java.lang.Object
  extended by com.gigaspaces.security.authorities.SpaceAuthority.PackageFilter
      extended by com.gigaspaces.security.authorities.SpaceAuthority.NegatePackageFilter
All Implemented Interfaces:
SpaceAuthority.Filter, SpaceAuthority.NegateFilter, Serializable
Enclosing class:
SpaceAuthority

public static final class SpaceAuthority.NegatePackageFilter
extends SpaceAuthority.PackageFilter
implements SpaceAuthority.NegateFilter

Package filter accepting only packages not of the defined package.

See Also:
Serialized Form

Constructor Summary
SpaceAuthority.NegatePackageFilter(String packagename)
           
 
Method Summary
 boolean accept(String otherPackageName)
          Tests whether or not the string is acceptable.
 
Methods inherited from class com.gigaspaces.security.authorities.SpaceAuthority.PackageFilter
accept, getExpression, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.gigaspaces.security.authorities.SpaceAuthority.Filter
accept, getExpression
 

Constructor Detail

SpaceAuthority.NegatePackageFilter

public SpaceAuthority.NegatePackageFilter(String packagename)
Method Detail

accept

public boolean accept(String otherPackageName)
Description copied from interface: SpaceAuthority.Filter
Tests whether or not the string is acceptable.

Specified by:
accept in interface SpaceAuthority.Filter
Overrides:
accept in class SpaceAuthority.PackageFilter
Parameters:
otherPackageName - a string as used to construct the filter.
Returns:
true if and only if the filter accepts the the given string; false otherwise.

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.