Spring Data for VMware GemFire
Interface SchemaObjectCollector<T>
- All Known Implementing Classes:
ClientRegionCollector,ComposableSchemaObjectCollector,IndexCollector,RegionCollector
public interface SchemaObjectCollector<T>
The
SchemaObjectCollector interface defines a contract for implementing objects to search for
and find all schema objects of a particular type in a given context.
Implementations of this interface know how to inspect the given context and find all references
to the schema object instances of a particular type.- Since:
- 2.0.0
- See Also:
-
GemFireCacheApplicationContext
-
Method Summary
Modifier and TypeMethodDescriptioncollectFrom(org.apache.geode.cache.GemFireCache gemfireCache) Collects all schema objects of typeSchemaObjectCollectordefined in theGemFireCache.collectFrom(org.springframework.context.ApplicationContext applicationContext) Collects all schema objects of typeSchemaObjectCollectordeclared in the givenApplicationContext.
-
Method Details
-
collectFrom
Collects all schema objects of typeSchemaObjectCollectordeclared in the givenApplicationContext.- Parameters:
applicationContext- SpringApplicationContextfrom which to collect schema objects of typeSchemaObjectCollector.- Returns:
- a
Setof all schema objects of typeSchemaObjectCollectordeclared in theApplicationContext; returns an emptySetif no schema object of typeSchemaObjectCollectorcould be found. - See Also:
-
ApplicationContextIterable
-
collectFrom
Collects all schema objects of typeSchemaObjectCollectordefined in theGemFireCache.- Parameters:
gemfireCache-GemFireCachefrom which to collect schema objects of typeSchemaObjectCollector.- Returns:
- a
Setof all schema objects of typeSchemaObjectCollectordefined in theGemFireCache; returns an emptySetif no schema object of typeSchemaObjectCollectorcould be found. - See Also:
-
GemFireCacheIterable
-