|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.dqp.embedded.services.EmbeddedBaseDQPService
public abstract class EmbeddedBaseDQPService
This a base service for all the Embedded DQP Services.
Field Summary | |
---|---|
static java.lang.String |
SYSTEM_PHYSICAL_MODEL_NAME
|
Constructor Summary | |
---|---|
EmbeddedBaseDQPService()
|
Method Summary | |
---|---|
protected ConfigurationService |
getConfigurationService()
Helper to find the configuration service |
void |
initialize(java.util.Properties props)
Initialize the service with the specified properties. |
abstract void |
initializeService(java.util.Properties properties)
|
protected boolean |
isStarted()
|
protected boolean |
isValidVDB(VDBArchive vdb)
checks the validity of the VDB |
protected ApplicationService |
lookupService(java.lang.String serviceName)
Look up the the service |
void |
start(ApplicationEnvironment environment)
Start the service with the specified environment. |
abstract void |
startService(ApplicationEnvironment environment)
|
void |
stop()
Stop the service. |
abstract void |
stopService()
|
protected java.lang.String |
vdbId(java.lang.String name,
java.lang.String version)
|
protected java.lang.String |
vdbId(VDBArchive vdb)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SYSTEM_PHYSICAL_MODEL_NAME
Constructor Detail |
---|
public EmbeddedBaseDQPService()
Method Detail |
---|
public final void initialize(java.util.Properties props) throws ApplicationInitializationException
ApplicationService
initialize
in interface ApplicationService
props
- Initialialization properties
ApplicationInitializationException
- If an error occurs during initializationApplicationService.initialize(java.util.Properties)
public abstract void initializeService(java.util.Properties properties) throws ApplicationInitializationException
ApplicationInitializationException
public final void start(ApplicationEnvironment environment) throws ApplicationLifecycleException
ApplicationService
start
in interface ApplicationService
environment
- Environment
ApplicationLifecycleException
- If an error occurs while startingApplicationService.start(com.metamatrix.common.application.ApplicationEnvironment)
public abstract void startService(ApplicationEnvironment environment) throws ApplicationLifecycleException
ApplicationLifecycleException
public final void stop() throws ApplicationLifecycleException
ApplicationService
stop
in interface ApplicationService
ApplicationLifecycleException
- If an error occurs while startingApplicationService.stop()
public abstract void stopService() throws ApplicationLifecycleException
ApplicationLifecycleException
protected ApplicationService lookupService(java.lang.String serviceName)
serviceName
-
MetaMatrixComponentException
protected ConfigurationService getConfigurationService()
MetaMatrixComponentException
protected final boolean isStarted()
protected java.lang.String vdbId(VDBArchive vdb)
protected java.lang.String vdbId(java.lang.String name, java.lang.String version)
protected boolean isValidVDB(VDBArchive vdb)
vdb
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |