org.jboss.metatype.api.values
Interface InstanceFactory<T>

Type Parameters:
T - the actual instance type
All Known Implementing Classes:
ListInstanceFactory, SetInstanceFactory, SortedSetInstanceFactory

public interface InstanceFactory<T>

The recreate instance factory.

Author:
Ales Justin

Method Summary
 T instantiate(org.jboss.beans.info.spi.BeanInfo beanInfo)
          Create new instance.
 

Method Detail

instantiate

T instantiate(org.jboss.beans.info.spi.BeanInfo beanInfo)
              throws Throwable
Create new instance.

Parameters:
beanInfo - the bean info
Returns:
new instance
Throws:
Throwable - for any error


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.