com.metamatrix.console.models
Class PoolManager
java.lang.Object
com.metamatrix.console.models.Manager
com.metamatrix.console.models.PoolManager
public class PoolManager
- extends Manager
Methods inherited from class com.metamatrix.console.models.Manager |
addManagerListener, fireModelChangedEvent, fireModelChangedEvent, getConnection, getConnection, getEncryptor, getEventListeners, getIsStale, init, refresh, removeManagerListener, setIsStale |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NEXT_STARTUP_CONFIG
public static final int NEXT_STARTUP_CONFIG
- See Also:
- Constant Field Values
STARTUP_CONFIG
public static final int STARTUP_CONFIG
- See Also:
- Constant Field Values
PoolManager
public PoolManager(ConnectionInfo connection)
getPoolStats
public ResourcePoolStats[] getPoolStats()
throws AuthorizationException,
ExternalException
- Throws:
AuthorizationException
ExternalException
getPoolConfigData
public PoolConfigTableRowData[] getPoolConfigData()
throws AuthorizationException,
ExternalException
- Throws:
AuthorizationException
ExternalException
getPools
public PoolNameAndType[] getPools()
throws AuthorizationException,
ExternalException
- returns the active resource pools
- Throws:
AuthorizationException
ExternalException
getPoolTypes
public java.lang.String[] getPoolTypes()
throws AuthorizationException,
ExternalException
- Throws:
AuthorizationException
ExternalException
getPropertiedObjectForResourceDescriptor
public PropertiedObject getPropertiedObjectForResourceDescriptor(ComponentObject rd)
getPropertiedObjectEditorForPool
public PropertiedObjectEditor getPropertiedObjectEditorForPool(ModificationActionQueue maq)
getConfigurationObjectEditor
public ConfigurationObjectEditor getConfigurationObjectEditor()
throws AuthorizationException,
ExternalException
- Throws:
AuthorizationException
ExternalException
getConfigurationID
public ConfigurationID getConfigurationID(int type)
throws AuthorizationException,
ExternalException
- Throws:
AuthorizationException
ExternalException
updatePoolProperties
public void updatePoolProperties(ConfigurationObjectEditor editor,
PropertiedObject propertiedObject)
throws java.lang.Exception
- Throws:
java.lang.Exception
applyPropertiesToActivePool
public void applyPropertiesToActivePool(PropertiedObject propertiedObject)
throws java.lang.Exception
- Throws:
java.lang.Exception
updateResourceProperties
public void updateResourceProperties(ResourcePropertiedObjectEditor editor)
throws java.lang.Exception
- Throws:
java.lang.Exception
poolExists
public boolean poolExists(java.lang.String poolName,
ConfigurationID configID)
throws AuthorizationException,
ExternalException
- tries to determine if the pool already exist in the configuration
- Throws:
AuthorizationException
ExternalException
getConnectionPool
public ResourceDescriptor getConnectionPool(java.lang.String poolName,
ConfigurationID configID)
throws AuthorizationException,
ExternalException
- Throws:
AuthorizationException
ExternalException
getPoolType
public ComponentType getPoolType(java.lang.String poolTypeName)
throws AuthorizationException,
ExternalException
- Throws:
AuthorizationException
ExternalException
createPropertiedObjectForPool
public PoolPropertiedObjectAndEditor createPropertiedObjectForPool(java.lang.String poolName,
java.lang.String poolType,
ConfigurationID nextStartup)
throws AuthorizationException,
ExternalException
- Throws:
AuthorizationException
ExternalException
createPool
public PoolNameAndType createPool(PoolPropertiedObjectAndEditor data,
ResourceDescriptor[] resourcesToAddToPool)
throws AuthorizationException,
ExternalException
- Throws:
AuthorizationException
ExternalException
getResourcePropertiedObjectEditor
public ResourcePropertiedObjectEditor getResourcePropertiedObjectEditor()
throws AuthorizationException,
ExternalException
- Throws:
AuthorizationException
ExternalException
getResources
public SharedResource[] getResources()
throws AuthorizationException,
ExternalException
- Throws:
AuthorizationException
ExternalException
getResourceDescriptors
public ResourceDescriptor[] getResourceDescriptors()
throws AuthorizationException,
ExternalException
- Throws:
AuthorizationException
ExternalException
Copyright © 2009. All Rights Reserved.