org.apache.commons.jelly.tags.swing
Class BeanFactory

java.lang.Object
  extended byorg.apache.commons.jelly.tags.swing.BeanFactory
All Implemented Interfaces:
Factory
Direct Known Subclasses:
ConstraintTag.HereFactory

public class BeanFactory
extends java.lang.Object
implements Factory

A default Factory implementation that creates new instances from a bean class

Version:
$Revision: 155420 $
Author:
James Strachan

Constructor Summary
BeanFactory(java.lang.Class beanClass)
           
 
Method Summary
 java.lang.Object newInstance()
          Create a new component instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanFactory

public BeanFactory(java.lang.Class beanClass)
Method Detail

newInstance

public java.lang.Object newInstance()
                             throws java.lang.InstantiationException
Create a new component instance

Specified by:
newInstance in interface Factory
Throws:
java.lang.InstantiationException


Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.