org.springframework.jee.interfaces
Interface ComponentFactory

All Known Implementing Classes:
SpringComponentFactory

public interface ComponentFactory

Component factories allow customization of how WebLogic constructs new Java EE component instances.

An application deployment (an EAR, a standalone EJB-JAR, or a standalone webapp) may configure which component factory should be used to create component instances by putting the component factory into the classpath and ensuring that there exists exactly one entry in META-INF/services/weblogic.application.ComponentFactory identifying the component factory implementation to use. The server will not deploy an application if it discovers multiple ComponentFactory listings when scanning the registered services.

Since:
9.5
Author:
Safin Li, Michael Chen

Method Summary
 Object newInstance(Class cls)
          Creates a new instance of type cls.
 

Method Detail

newInstance

Object newInstance(Class cls)
Creates a new instance of type cls. WebLogic does instance pooling at a higher level, when appropriate. This method should not pool instances.



Copyright © 2006-2008 SpringSource (formerly Interface21). All Rights Reserved.