org.tubo.resource.springimpl
Class SpringDefaultManagerStrategyImpl

java.lang.Object
  extended by org.tubo.resource.baseimpl.BaseAbstractManagerStrategyImpl
      extended by org.tubo.resource.springimpl.SpringDefaultManagerStrategyImpl
All Implemented Interfaces:
org.springframework.beans.factory.BeanFactoryAware, ManagerStrategy

public class SpringDefaultManagerStrategyImpl
extends BaseAbstractManagerStrategyImpl
implements ManagerStrategy, org.springframework.beans.factory.BeanFactoryAware

Created: Jun 28, 2006, 6:23:34 AM Last Modification Date: $Date: 2006-10-19 12:11:35 -0300 (Thu, 19 Oct 2006) $

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

Field Summary
static java.lang.String RCS_ID
           
 
Fields inherited from class org.tubo.resource.baseimpl.BaseAbstractManagerStrategyImpl
id
 
Constructor Summary
SpringDefaultManagerStrategyImpl()
           
 
Method Summary
 Resource get()
          Get a Resource from Spring Bean Factory
 org.springframework.beans.factory.BeanFactory getBeanFactory()
           
 void restore(Resource resource)
           
 void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
           
 
Methods inherited from class org.tubo.resource.baseimpl.BaseAbstractManagerStrategyImpl
getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RCS_ID

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

SpringDefaultManagerStrategyImpl

public SpringDefaultManagerStrategyImpl()
Method Detail

getBeanFactory

public org.springframework.beans.factory.BeanFactory getBeanFactory()

setBeanFactory

public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
Specified by:
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware

get

public Resource get()
             throws TuboResourceException
Get a Resource from Spring Bean Factory

Specified by:
get in interface ManagerStrategy
Returns:
a Resource
Throws:
TuboResourceException

restore

public void restore(Resource resource)
             throws TuboResourceException
Specified by:
restore in interface ManagerStrategy
Throws:
TuboResourceException


Copyright © 2004-2007 Tubo. All Rights Reserved.