Class ClientRegionCollector
java.lang.Object
org.springframework.data.gemfire.config.schema.support.RegionCollector
org.springframework.data.gemfire.config.schema.support.ClientRegionCollector
- All Implemented Interfaces:
SchemaObjectCollector<Region>
The
ClientRegionCollector
class is an extension of the RegionCollector
which applies additional
filtering to find only client Regions
in a given context.- Since:
- 2.0.0
- Author:
- John Blum
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncollectFrom
(GemFireCache gemfireCache) Collects all schema objects of typeSchemaObjectCollector
defined in theGemFireCache
.collectFrom
(ApplicationContext applicationContext) Collects all schema objects of typeSchemaObjectCollector
declared in the givenApplicationContext
.
-
Constructor Details
-
ClientRegionCollector
public ClientRegionCollector()
-
-
Method Details
-
collectFrom
Description copied from interface:SchemaObjectCollector
Collects all schema objects of typeSchemaObjectCollector
declared in the givenApplicationContext
.- Specified by:
collectFrom
in interfaceSchemaObjectCollector<Region>
- Overrides:
collectFrom
in classRegionCollector
- Parameters:
applicationContext
- SpringApplicationContext
from which to collect schema objects of typeSchemaObjectCollector
.- Returns:
- a
Set
of all schema objects of typeSchemaObjectCollector
declared in theApplicationContext
; returns an emptySet
if no schema object of typeSchemaObjectCollector
could be found. - See Also:
-
collectFrom
Description copied from interface:SchemaObjectCollector
Collects all schema objects of typeSchemaObjectCollector
defined in theGemFireCache
.- Specified by:
collectFrom
in interfaceSchemaObjectCollector<Region>
- Overrides:
collectFrom
in classRegionCollector
- Parameters:
gemfireCache
-GemFireCache
from which to collect schema objects of typeSchemaObjectCollector
.- Returns:
- a
Set
of all schema objects of typeSchemaObjectCollector
defined in theGemFireCache
; returns an emptySet
if no schema object of typeSchemaObjectCollector
could be found. - See Also:
-