[jboss-dev-forums] [Design of POJO Server] - Re: Generalizing dependency injection
scott.stark@jboss.org
do-not-reply at jboss.com
Thu Mar 13 05:36:17 EDT 2008
An extension of org.jboss.beans.metadata.spi.factory.BeanFactory is needed:
| public interface BeanFactory
| {
| /**
| * Create bean.
| *
| * @return bean
| * @throws Throwable for any error
| */
| Object createBean() throws Throwable;
| }
| public interface PooledBeanFactory extends BeanFactory
| {
| destroy(Object instance) throws Throwable;
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136227#4136227
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136227
More information about the jboss-dev-forums
mailing list