GigaSpaces - Open Spaces

org.openspaces.core.space.filter
Class SpaceFilterProviderFactory

java.lang.Object
  extended by org.openspaces.core.space.filter.AbstractFilterProviderFactoryBean
      extended by org.openspaces.core.space.filter.SpaceFilterProviderFactory
All Implemented Interfaces:
FilterProviderFactory, BeanNameAware, InitializingBean

public class SpaceFilterProviderFactory
extends AbstractFilterProviderFactoryBean

A FilterProvider factory that accepts a concrete ISpaceFilter implementation in addition to all the operation codes it will listen to.

Author:
kimchy
See Also:
FilterProvider, ISpaceFilter, FilterOperationCodes

Constructor Summary
SpaceFilterProviderFactory()
           
 
Method Summary
protected  com.j_spaces.core.filters.FilterProvider doGetFilterProvider()
          Returns a new filter provider based on the provided filter and operation codes.
 void setFilter(com.j_spaces.core.filters.ISpaceFilter filter)
          Override the parent method since this factory requires a concrete implementation of the an ISpaceFilter.
 void setOperationCodes(int[] operationCodes)
          Sets a list of the operation codes mapping to filter operations.
 void setOperationCodesNames(String[] operationCodesNames)
          Sets the possible names for the given operation code.
 
Methods inherited from class org.openspaces.core.space.filter.AbstractFilterProviderFactoryBean
afterPropertiesSet, getBeanName, getFilter, getFilterProvider, setActiveWhenBackup, setBeanName, setEnabled, setFilter, setPriority, setSecurityFilter, setShutdownSpaceOnInitFailure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpaceFilterProviderFactory

public SpaceFilterProviderFactory()
Method Detail

doGetFilterProvider

protected com.j_spaces.core.filters.FilterProvider doGetFilterProvider()
                                                                throws IllegalArgumentException
Returns a new filter provider based on the provided filter and operation codes.

Specified by:
doGetFilterProvider in class AbstractFilterProviderFactoryBean
Throws:
IllegalArgumentException

setOperationCodes

public void setOperationCodes(int[] operationCodes)
Sets a list of the operation codes mapping to filter operations.

See Also:
FilterOperationCodes

setOperationCodesNames

public void setOperationCodesNames(String[] operationCodesNames)
Sets the possible names for the given operation code.


setFilter

public void setFilter(com.j_spaces.core.filters.ISpaceFilter filter)
Override the parent method since this factory requires a concrete implementation of the an ISpaceFilter.


GigaSpaces - Open Spaces

Copyright © GigaSpaces.