org.tubo.resource.baseimpl
Class BaseAbstractResourceManager

java.lang.Object
  extended by org.tubo.resource.baseimpl.BaseAbstractResourceManager
All Implemented Interfaces:
ResourceManager
Direct Known Subclasses:
SpringResourceManagerImpl

public abstract class BaseAbstractResourceManager
extends java.lang.Object
implements ResourceManager

Created: Aug 31, 2006, 6:47:45 PM Last Modification Date: $Date: 2006-12-15 18:36:03 -0300 (Fri, 15 Dec 2006) $

Version:
$Revision: 77 $
Author:
maldito_orco (maldito_orco@users.sourceforge.net)

Field Summary
static java.lang.String RCS_ID
           
 
Constructor Summary
protected BaseAbstractResourceManager()
          Default constructor protected.
 
Method Summary
 ComponentManager getComponentManager(java.lang.String id)
          This method returns a ComponentManager identified by id
 Configuration getConfiguration()
          Get Configuration object of this resource manager
 ConsumerManager getConsumerManager(java.lang.String id)
          Return consumer manager identified by id
 java.util.List getConsumerManagers()
          Get the List of ConsumerManagers
 void setConfiguration(Configuration configuration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.tubo.resource.ResourceManager
getExceptionManager, getFlowExecutor, getKernel, getManager, getNewEvent, getNewFlowContext, getNewItem
 

Field Detail

RCS_ID

public static final java.lang.String RCS_ID
See Also:
Constant Field Values
Constructor Detail

BaseAbstractResourceManager

protected BaseAbstractResourceManager()
                               throws TuboException
Default constructor protected. Used by test cases. Don't change. USED ONLY BY TEST CASES!

Throws:
TuboResourceException
TuboException
Method Detail

getConfiguration

public Configuration getConfiguration()
                               throws TuboException
Get Configuration object of this resource manager

Specified by:
getConfiguration in interface ResourceManager
Returns:
Configuration
Throws:
TuboException

setConfiguration

public void setConfiguration(Configuration configuration)

getConsumerManager

public ConsumerManager getConsumerManager(java.lang.String id)
                                   throws TuboException
Return consumer manager identified by id

Specified by:
getConsumerManager in interface ResourceManager
Parameters:
id - ConsumerManager identificator
Returns:
A COnsumerManager
Throws:
TuboException

getConsumerManagers

public java.util.List getConsumerManagers()
                                   throws TuboException
Description copied from interface: ResourceManager
Get the List of ConsumerManagers

Specified by:
getConsumerManagers in interface ResourceManager
Returns:
ConsumerManager's list
Throws:
TuboException

getComponentManager

public ComponentManager getComponentManager(java.lang.String id)
                                     throws TuboException
This method returns a ComponentManager identified by id

Specified by:
getComponentManager in interface ResourceManager
Parameters:
id - ConsumerManager identifier
Returns:
a ConsumerManager instance
Throws:
TuboException


Copyright © 2004-2007 Tubo. All Rights Reserved.