org.tubo.resource.consumer
Class BaseConsumerManagerImpl

java.lang.Object
  extended by org.tubo.resource.baseimpl.BaseManagerImpl
      extended by org.tubo.resource.consumer.BaseConsumerManagerImpl
All Implemented Interfaces:
ConsumerManager, Manager

public class BaseConsumerManagerImpl
extends BaseManagerImpl
implements ConsumerManager

Created: Sep 3, 2006, 11:38:12 AM
Last Modification Date: $Date: 2006-12-15 18:46:07 -0300 (Fri, 15 Dec 2006) $

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

Field Summary
static java.lang.String RCS_ID
           
 
Constructor Summary
BaseConsumerManagerImpl()
           
 
Method Summary
 Consumer getConsumer()
          this method is a wrapper than get method, but especialized to Consumer interface.
 ConsumerLoader getLoader()
           
 void load()
          This method load consumers delegating this work to loader instance.
 void setLoader(ConsumerLoader loader)
           
 
Methods inherited from class org.tubo.resource.baseimpl.BaseManagerImpl
get, getId, getProperties, getProperty, getResourceManager, getStrategy, restore, setId, setProperties, setProperty, setResourceManager, setStrategy
 
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.Manager
get, getId, getProperties, getProperty, getResourceManager, restore, setResourceManager
 

Field Detail

RCS_ID

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

BaseConsumerManagerImpl

public BaseConsumerManagerImpl()
Method Detail

getLoader

public ConsumerLoader getLoader()

setLoader

public void setLoader(ConsumerLoader loader)

getConsumer

public Consumer getConsumer()
                     throws TuboException
this method is a wrapper than get method, but especialized to Consumer interface.

Specified by:
getConsumer in interface ConsumerManager
Returns:
a Consumer instance
Throws:
TuboException

load

public void load()
          throws TuboException
This method load consumers delegating this work to loader instance.

Specified by:
load in interface ConsumerManager
Throws:
TuboException


Copyright © 2004-2007 Tubo. All Rights Reserved.