|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Method Summary | |
---|---|
Object |
newInstance(Class cls)
Creates a new instance of type cls . |
Method Detail |
---|
Object newInstance(Class cls)
cls
. WebLogic does instance
pooling at a higher level, when appropriate. This method should not
pool instances.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |