Package wt.vc.config
Class StandardConfigService
java.lang.Object
wt.services.StandardManager
wt.vc.config.StandardConfigService
- All Implemented Interfaces:
Serializable,wt.fc._NetFactor,NetFactor,wt.services.applicationcontext.ApplicationContextChild,wt.services.Manager,ConfigService
public class StandardConfigService
extends StandardManager
implements ConfigService, wt.services.applicationcontext.ApplicationContextChild, Serializable
This is a straight forward implementation of
ConfigService that has no listeners.
Use the newStandardConfigService static factory method(s), not the StandardConfigService
constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in
order to ensure proper initialization of the instance.
Supported API: true
Extendable: true
- See Also:
-
Method Summary
Modifier and TypeMethodDescription<T extends ConfigSpec>
QueryResultfilteredIterationsOf(QueryResult masters, List<T> configSpecs) Returns aQueryResultofIteratedobjects that are related to the givenQueryResultofMasteredobjects and are valid for the givenConfigSpecs.filteredIterationsOf(QueryResult masters, ConfigSpec configSpec) Returns aQueryResultofIteratedobjects that are related to the givenQueryResultofMasteredobjects and are valid for the givenConfigSpec.<T extends ConfigSpec>
QueryResultfilteredIterationsOf(Mastered master, List<T> configSpecs) Returns aQueryResultofIteratedobjects that are related to the givenMasteredobject and are valid for the givenConfigSpecs.filteredIterationsOf(Mastered master, ConfigSpec configSpec) Returns aQueryResultofIteratedobjects that are related to the givenMasteredobject and are valid for the givenConfigSpec.Methods inherited from class wt.services.StandardManager
getManagerService, getManagerStatus, getName, getStartupType, initialize, performShutdownProcess, performStartupProcess, registerEvents
-
Method Details
-
filteredIterationsOf
public QueryResult filteredIterationsOf(Mastered master, ConfigSpec configSpec) throws WTException, PersistenceException Returns aQueryResultofIteratedobjects that are related to the givenMasteredobject and are valid for the givenConfigSpec.
Supported API: true- Specified by:
filteredIterationsOfin interfaceConfigService- Parameters:
master- The master to get the iterations for.configSpec- The ConfigSpec to process this master's iterations against.- Returns:
- QueryResult
- Throws:
WTExceptionPersistenceException
-
filteredIterationsOf
public QueryResult filteredIterationsOf(QueryResult masters, ConfigSpec configSpec) throws WTException, PersistenceException Returns aQueryResultofIteratedobjects that are related to the givenQueryResultofMasteredobjects and are valid for the givenConfigSpec.
Supported API: true- Specified by:
filteredIterationsOfin interfaceConfigService- Parameters:
masters- The QueryResult of masters to get the iterations for.configSpec- The ConfigSpec to process the resulting iterations against.- Returns:
- QueryResult
- Throws:
WTExceptionPersistenceException
-
filteredIterationsOf
public <T extends ConfigSpec> QueryResult filteredIterationsOf(Mastered master, List<T> configSpecs) throws WTException, PersistenceException Returns aQueryResultofIteratedobjects that are related to the givenMasteredobject and are valid for the givenConfigSpecs.
Supported API: true- Specified by:
filteredIterationsOfin interfaceConfigService- Type Parameters:
T- a sub-type of ConfigSpec- Parameters:
master- The master to get the iterations for.configSpecs- The ConfigSpecs to process this master's iterations against.- Returns:
- QueryResult
- Throws:
WTExceptionPersistenceException
-
filteredIterationsOf
public <T extends ConfigSpec> QueryResult filteredIterationsOf(QueryResult masters, List<T> configSpecs) throws WTException, PersistenceException Returns aQueryResultofIteratedobjects that are related to the givenQueryResultofMasteredobjects and are valid for the givenConfigSpecs.
Supported API: true- Specified by:
filteredIterationsOfin interfaceConfigService- Type Parameters:
T- a sub-type of ConfigSpec- Parameters:
masters- The QueryResult of masters to get the iterations for.configSpecs- The ConfigSpecs to process the resulting iterations against.- Returns:
- QueryResult
- Throws:
WTExceptionPersistenceException
-