com.metamatrix.console.models
Class PropertiesManager
java.lang.Object
com.metamatrix.console.models.Manager
com.metamatrix.console.models.PropertiesManager
public class PropertiesManager
- extends Manager
Methods inherited from class com.metamatrix.console.models.Manager |
addManagerListener, fireModelChangedEvent, fireModelChangedEvent, getConnection, getConnection, getEncryptor, getEventListeners, getIsStale, refresh, removeManagerListener, setIsStale |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesManager
public PropertiesManager(ConnectionInfo connection)
init
public void init()
- Description copied from class:
Manager
- Needs to be called by subclasses - sets up event
listening. (Subclasses should call super.init() in the body of their
init() method.)
TODO: Perhaps this superclass should set itself to stale as
part of the initialization process (see commented code in method body).
That would broadcast an event to listeners which would prompt them to
begin calling methods on a Manager - or perhaps a start() method
with this code should
be defined that will be called after init() (allowing subclasses to
extend init() before start() would be called)
- Overrides:
init
in class Manager
getProperties
public java.util.Map getProperties()
throws ExternalException,
AuthorizationException,
ComponentNotFoundException
- Throws:
ExternalException
AuthorizationException
ComponentNotFoundException
getProperty
public java.lang.String getProperty(java.lang.String key)
throws ExternalException,
AuthorizationException,
ComponentNotFoundException
- Throws:
ExternalException
AuthorizationException
ComponentNotFoundException
setProperty
public void setProperty(java.lang.String name,
java.lang.String value,
int cfgNumber)
throws ExternalException,
AuthorizationException,
ComponentNotFoundException
- Throws:
ExternalException
AuthorizationException
ComponentNotFoundException
setProperty
public void setProperty(java.lang.String name,
java.lang.String value,
Configuration cfg)
throws ExternalException,
AuthorizationException,
ComponentNotFoundException
- Throws:
ExternalException
AuthorizationException
ComponentNotFoundException
getNextStartUpConfiguration
public Configuration getNextStartUpConfiguration()
throws AuthorizationException,
InvalidSessionException,
ConfigurationException,
MetaMatrixComponentException
- Throws:
AuthorizationException
InvalidSessionException
ConfigurationException
MetaMatrixComponentException
getNextStartUpDefn
public java.util.Collection getNextStartUpDefn()
throws ExternalException,
AuthorizationException,
ComponentNotFoundException
- Throws:
ExternalException
AuthorizationException
ComponentNotFoundException
getNSUProperties
public java.util.Properties getNSUProperties()
throws ExternalException,
AuthorizationException,
ComponentNotFoundException
- Throws:
ExternalException
AuthorizationException
ComponentNotFoundException
getStartUpConfiguration
public Configuration getStartUpConfiguration()
throws AuthorizationException,
InvalidSessionException,
ComponentNotFoundException,
ConfigurationException,
ModificationException,
MetaMatrixComponentException
- Throws:
AuthorizationException
InvalidSessionException
ComponentNotFoundException
ConfigurationException
ModificationException
MetaMatrixComponentException
getStartUpDefn
public java.util.Collection getStartUpDefn()
throws ExternalException,
AuthorizationException,
ComponentNotFoundException
- Throws:
ExternalException
AuthorizationException
ComponentNotFoundException
getSUProperties
public java.util.Properties getSUProperties()
throws ExternalException,
AuthorizationException,
ComponentNotFoundException
- Throws:
ExternalException
AuthorizationException
ComponentNotFoundException
Copyright © 2009. All Rights Reserved.