raccoon.tibco.tibrv.hoststatus.db
Class DbHostStatus
java.lang.Object
raccoon.core.types.AbsComponent
raccoon.core.types.AbsLoadable
raccoon.core.types.AbsConfigurableLoadable
raccoon.tibco.tibrv.hoststatus.db.DbHostStatus
- All Implemented Interfaces:
- IBaseComponent, IConfigurable, ILoadable, ILogable, IHostStatus
public class DbHostStatus
- extends AbsConfigurableLoadable
- implements IHostStatus
The database implementation of Host Status.
- Since:
- Raccoon v1.0
- Version:
- $Id:$
- Author:
- Cedric ROUVRAIS
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DbHostStatus
public DbHostStatus()
getConfig
public IConfig getConfig()
setConfig
public void setConfig(IConfig pConfig)
getDbPollInterval
public int getDbPollInterval()
setDbPollInterval
public void setDbPollInterval(int pDbPollInterval)
throws ResourceNotFoundException
- Throws:
ResourceNotFoundException
getDbUserName
public java.lang.String getDbUserName()
setDbUserName
public void setDbUserName(java.lang.String pDbUserName)
throws ResourceNotFoundException
- Throws:
ResourceNotFoundException
getDbPassword
public java.lang.String getDbPassword()
setDbPassword
public void setDbPassword(java.lang.String pDbPassword)
throws ResourceNotFoundException
- Throws:
ResourceNotFoundException
getJdbcDriver
public java.lang.String getJdbcDriver()
setJdbcDriver
public void setJdbcDriver(java.lang.String pJdbcDriver)
throws ResourceNotFoundException
- Throws:
ResourceNotFoundException
getDbConnectionString
public java.lang.String getDbConnectionString()
setDbConnectionString
public void setDbConnectionString(java.lang.String pDbConnectionString)
throws ResourceNotFoundException
- Throws:
ResourceNotFoundException
configureParameters
public void configureParameters()
- Configures the various parameters for this component.
This method should configure the instance of
IConfigurableManager
provided during the invocation
of AbsConfigurableLoadable.setConfigurableManager(IConfigurableManager)
.
- Specified by:
configureParameters
in interface IConfigurable
- Overrides:
configureParameters
in class AbsConfigurableLoadable
run
public void run()
- Specified by:
run
in interface IHostStatus
load
public void load()
throws java.lang.IllegalStateException,
LoadableException
- Loads or initializes the component.
- Specified by:
load
in interface ILoadable
- Overrides:
load
in class AbsConfigurableLoadable
- Throws:
LoadableException
- if the component couldn't load itself.
java.lang.IllegalStateException
- if the component isn't in a state to load itself. for example it is already loaded.
unload
public void unload()
throws java.lang.IllegalStateException,
LoadableException
- Unloads or deactivates the component.
The invocation of this method should be used to clean up, if necessary, all used resources.
- Specified by:
unload
in interface ILoadable
- Overrides:
unload
in class AbsLoadable
- Throws:
LoadableException
- if the component couldn't unload itself.
java.lang.IllegalStateException
- if this component isn't in a state to unload itself.
Copyright null null. All Rights Reserved.