|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.vc.config.StandardConfigService
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
Field Summary | |
private ApplicationContext |
applicationContext
|
private static String |
CLASSNAME
|
private static String |
RESOURCE
|
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild |
APPLICATION_CONTEXT |
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardConfigService()
|
Method Summary | |
QueryResult |
filteredIterationsOf(Mastered master,
ConfigSpec configSpec)
Returns a QueryResult of Iterated objects
that are related to the given Mastered object and are
valid for the given ConfigSpec . |
QueryResult |
filteredIterationsOf(QueryResult masters,
ConfigSpec configSpec)
Returns a QueryResult of Iterated objects
that are related to the given QueryResult of Mastered
objects and are valid for the given ConfigSpec . |
ApplicationContext |
getApplicationContext()
Gets the object for the association that plays role: applicationContext. |
String |
getConceptualClassname()
Deprecated. |
ConfigSpec |
getConfigSpecFor(Iterated iteration)
Supported API: false |
ConfigSpec |
getDefaultConfigSpecFor(Class masterOrIterationClass)
Supported API: false |
static StandardConfigService |
newStandardConfigService()
Default factory for the class. |
QueryResult |
queryIterations(QuerySpec querySpec,
ConfigSpec configSpec)
Returns a QueryResult of Iterated objects
that will be selcted by the given QuerySpec and are
valid for the given ConfigSpec . |
void |
setApplicationContext(ApplicationContext a_ApplicationContext)
Sets the object for the association that plays role: applicationContext. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private ApplicationContext applicationContext
Constructor Detail |
public StandardConfigService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
public static StandardConfigService newStandardConfigService() throws WTException
WTException
public QueryResult filteredIterationsOf(Mastered master, ConfigSpec configSpec) throws WTException, PersistenceException
QueryResult
of Iterated
objects
that are related to the given Mastered
object and are
valid for the given ConfigSpec
.
filteredIterationsOf
in interface ConfigService
master
- The master to get the iterations for.configSpec
- The ConfigSpec to process this master's iterations against.
WTException
PersistenceException
public QueryResult filteredIterationsOf(QueryResult masters, ConfigSpec configSpec) throws WTException, PersistenceException
QueryResult
of Iterated
objects
that are related to the given QueryResult
of Mastered
objects and are valid for the given ConfigSpec
.
filteredIterationsOf
in interface ConfigService
masters
- The QueryResult of masters to get the iterations for.configSpec
- The ConfigSpec to process the resulting iterations against.
WTException
PersistenceException
public QueryResult queryIterations(QuerySpec querySpec, ConfigSpec configSpec) throws WTException, PersistenceException
QueryResult
of Iterated
objects
that will be selcted by the given QuerySpec
and are
valid for the given ConfigSpec
. Note that a QuerySpec is
appended by the ConfigSpec's appendSearchCriteria. After the query,
the query result is passed to the ConfigSpec's process API.
queryIterations
in interface ConfigService
querySpec
- The QuerySpec based on iterations.configSpec
- The ConfigSpec to process the resulting iterations against.
WTException
PersistenceException
public ConfigSpec getConfigSpecFor(Iterated iteration) throws WTException
getConfigSpecFor
in interface ConfigService
iteration
-
WTException
public ConfigSpec getDefaultConfigSpecFor(Class masterOrIterationClass) throws WTException
getDefaultConfigSpecFor
in interface ConfigService
masterOrIterationClass
-
WTException
public ApplicationContext getApplicationContext()
getApplicationContext
in interface ApplicationContextChild
public void setApplicationContext(ApplicationContext a_ApplicationContext) throws WTPropertyVetoException
setApplicationContext
in interface ApplicationContextChild
a_ApplicationContext
-
WTPropertyVetoException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |