public class RegistryFacadeImpl extends Object implements RegistryFacade
RegistryFacade
.Constructor and Description |
---|
RegistryFacadeImpl(Set<Registry> registries) |
Modifier and Type | Method and Description |
---|---|
Collection<Registry> |
all() |
Collection<DefinitionProvider> |
byModule(String moduleName)
Convenience method to find all definitions registered by the given module.
|
Collection<DefinitionProvider> |
bySource(ConfigurationSourceType sourceType)
Convenience method to find all definitions registered trough a given
ConfigurationSourceType . |
Collection<DefinitionProvider> |
byType(DefinitionType type)
Convenience method to find all definitions of a certain
DefinitionType . |
DefinitionQuery |
query()
Create query operating over an aggregation of all registries in this facade.
|
DefinitionQuery |
query(DefinitionQuery base)
Like
RegistryFacade.query() , but adopts properties from another query. |
Registry |
registryFor(DefinitionType type) |
public Registry registryFor(DefinitionType type)
registryFor
in interface RegistryFacade
public Collection<Registry> all()
all
in interface RegistryFacade
public Collection<DefinitionProvider> byModule(String moduleName)
RegistryFacade
byModule
in interface RegistryFacade
RegistryFacade.query()
public Collection<DefinitionProvider> byType(DefinitionType type)
RegistryFacade
DefinitionType
.byType
in interface RegistryFacade
RegistryFacade.query()
public Collection<DefinitionProvider> bySource(ConfigurationSourceType sourceType)
RegistryFacade
ConfigurationSourceType
.bySource
in interface RegistryFacade
RegistryFacade.query()
public DefinitionQuery query()
RegistryFacade
query
in interface RegistryFacade
public DefinitionQuery query(DefinitionQuery base)
RegistryFacade
RegistryFacade.query()
, but adopts properties from another query.query
in interface RegistryFacade
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.