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:
-
GemFireCache
ApplicationContext
-
Method Summary
Modifier and TypeMethodDescriptioncollectFrom
(org.apache.geode.cache.GemFireCache gemfireCache) Collects all schema objects of typeSchemaObjectCollector
defined in theGemFireCache
.collectFrom
(org.springframework.context.ApplicationContext applicationContext) Collects all schema objects of typeSchemaObjectCollector
declared in the givenApplicationContext
.
-
Method Details
-
collectFrom
Collects all schema objects of typeSchemaObjectCollector
declared in the givenApplicationContext
.- 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:
-
ApplicationContext
Iterable
-
collectFrom
Collects all schema objects of typeSchemaObjectCollector
defined in theGemFireCache
.- 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:
-
GemFireCache
Iterable
-