public interface SchemaObjectCollector<T>
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.GemFireCache
,
ApplicationContext
Modifier and Type | Method and Description |
---|---|
default Iterable<T> |
collectFrom(ApplicationContext applicationContext)
Collects all schema objects of type
T declared in the given ApplicationContext . |
default Iterable<T> |
collectFrom(org.apache.geode.cache.GemFireCache gemfireCache)
Collects all schema objects of type
T defined in the GemFireCache . |
default Iterable<T> collectFrom(ApplicationContext applicationContext)
T
declared in the given ApplicationContext
.applicationContext
- Spring ApplicationContext
from which to collect schema objects
of type T
.Set
of all schema objects of type T
declared in the ApplicationContext
;
returns an empty Set
if no schema object of type T
could be found.ApplicationContext
,
Iterable
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.