public class BeanProvider<T> extends Object implements ObjectProvider<T>, Serializable
Class.newInstance() to instantiate an object.| Constructor and Description |
|---|
BeanProvider(Class<? extends T> beanClass)
Constructs a provider which instantiates objects of the specified bean class.
|
public BeanProvider(Class<? extends T> beanClass)
beanClass - the bean classpublic T getObject()
ObjectProviderException if any problems arise while
constructing/finding the object.getObject in interface ObjectProvider<T>Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.