Interface AutoBeanFactory

All Known Subinterfaces:
InProcessRequestFactory.Factory, MessageFactory

public interface AutoBeanFactory
A tag interface for the AutoBean generator. Instances of AutoBeans are created by declaring factory methods on a subtype of this interface.

Simple interfaces, consisting of only getters and setters, can be constructed with a no-arg method. Non-simple interfaces must provide a delegate object to implement a non-simple interface or use a AutoBeanFactory.Category.

 interface MyFactory extends AutoBeanFactory {
   // A factory method for a simple bean
   AutoBean<BeanInterface> beanInterface();
   // A factory method for a wrapper bean
   AutoBean<ArbitraryInterface> wrapper(ArbitraryInterface delegate);
 }
 
See Also: