org.tubo.resource
Interface ResourceManager

All Known Implementing Classes:
BaseAbstractResourceManager, SpringResourceManagerImpl

public interface ResourceManager

Created: Jan 25, 2006 5:58:17 PM Last Modification Date: $Date: 2006-12-15 18:33:49 -0300 (Fri, 15 Dec 2006) $

Version:
$Revision: 76 $
Author:
jvlio (jvlio@users.sourceforge.net)

Field Summary
static java.lang.String RCS_ID
           
 
Method Summary
 ComponentManager getComponentManager(java.lang.String id)
          Get a ComponentManager identified by id
 Configuration getConfiguration()
          Get the tubo configuration
 ConsumerManager getConsumerManager(java.lang.String id)
          Get a ConsumerManager identified by id
 java.util.List getConsumerManagers()
          Get the List of ConsumerManagers
 ExceptionManager getExceptionManager()
          Get exception manager
 FlowExecutor getFlowExecutor()
          Get flow processor manager
 Kernel getKernel()
           Get kernel instance
 Manager getManager(java.lang.String id)
          Get a Manager identified by id
 Event getNewEvent()
          Create a new Event instance
 FlowContext getNewFlowContext()
          Create a new FlowContext instance
 Item getNewItem()
          Create a new Item instance
 

Field Detail

RCS_ID

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

getConfiguration

Configuration getConfiguration()
                               throws TuboException
Get the tubo configuration

Returns:
Configuration
Throws:
TuboException

getNewItem

Item getNewItem()
                throws TuboException
Create a new Item instance

Returns:
new Item instance
Throws:
TuboException

getNewEvent

Event getNewEvent()
                  throws TuboException
Create a new Event instance

Returns:
new Event instance
Throws:
TuboException

getNewFlowContext

FlowContext getNewFlowContext()
                              throws TuboException
Create a new FlowContext instance

Returns:
new FlowContext instance
Throws:
TuboException

getExceptionManager

ExceptionManager getExceptionManager()
                                     throws TuboException
Get exception manager

Returns:
Exception manager
Throws:
TuboException

getFlowExecutor

FlowExecutor getFlowExecutor()
                             throws TuboException
Get flow processor manager

Returns:
Exception manager
Throws:
TuboException

getManager

Manager getManager(java.lang.String id)
                   throws TuboException
Get a Manager identified by id

Parameters:
id - Manager identification
Returns:
A Manager
Throws:
TuboException

getConsumerManager

ConsumerManager getConsumerManager(java.lang.String id)
                                   throws TuboException
Get a ConsumerManager identified by id

Parameters:
id - manager id
Returns:
a ConsumerManager
Throws:
TuboException

getConsumerManagers

java.util.List getConsumerManagers()
                                   throws TuboException
Get the List of ConsumerManagers

Returns:
ConsumerManager's list
Throws:
TuboException

getComponentManager

ComponentManager getComponentManager(java.lang.String id)
                                     throws TuboException
Get a ComponentManager identified by id

Parameters:
id - Manager identification
Returns:
a ComponentManager identified by id
Throws:
TuboException

getKernel

Kernel getKernel()
                 throws TuboException

Get kernel instance

Returns:
kernel instance
Throws:
TuboException


Copyright © 2004-2007 Tubo. All Rights Reserved.