org.apache.jackrabbit.taglib.bean
Class SimpleBeanFactory

java.lang.Object
  extended byorg.apache.jackrabbit.taglib.bean.SimpleBeanFactory
All Implemented Interfaces:
BeanFactory

public class SimpleBeanFactory
extends java.lang.Object
implements BeanFactory

Bean creation based on class name.
It creates a new instance on each call.

Author:
Edgar Poce

Constructor Summary
SimpleBeanFactory()
           
 
Method Summary
 java.lang.Object getBean(java.lang.String id)
          gets a bean for the given ID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleBeanFactory

public SimpleBeanFactory()
Method Detail

getBean

public java.lang.Object getBean(java.lang.String id)
Description copied from interface: BeanFactory
gets a bean for the given ID

Specified by:
getBean in interface BeanFactory
Parameters:
id -
Returns:
a new instance of the given class name


Copyright © 2005 . All Rights Reserved.