|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xenonsoft.bridgetown.soa.impl.ApplicationProxyBeanBuilder
A singleton class that provides an application reference to a proxy bean builder instance.
| Method Summary | |
IProxyBeanBuilder |
createBuilder(java.lang.ClassLoader classLoader,
java.lang.String providerName)
Creates or retrieve a proxy bean builder. |
IProxyBeanBuilder |
createBuilder(java.lang.String providerName)
Creates or retrieve a proxy bean builder using the current available class loader |
static ApplicationProxyBeanBuilder |
getInstance()
Retrieves the application proxy bean builder singleton |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static ApplicationProxyBeanBuilder getInstance()
public IProxyBeanBuilder createBuilder(java.lang.ClassLoader classLoader,
java.lang.String providerName)
Depending on the provider name the factory current implementation returns the following:
DESIGN NOTE:
This factory class will be changing to be a bit.
Peter Pilgrim
Some of my ideas include, but not limited to:
META-INF/services/com.xenonsoft.bridgetown.soa.impl.ApplicationProxyBeanBuilder
in jars available to the runtime.
Some of these ideas are based on the XML API for SAXParser
http://xml.apache.org/xalan-j/apidocs/javax/xml/parsers/SAXParser.html.
Has SAXParser been a good example of successful extensible API?
classLoader - the supplied class loaderproviderName - the provider name
java.lang.IllegalArgumentException - provider name is empty or null
java.lang.RuntimeException - unknown the bean builder cannot be created.CglibProxyBeanBuilder,
BeanUtilsProxyBeanBuilderpublic IProxyBeanBuilder createBuilder(java.lang.String providerName)
providerName - the provider name
createBuilder(ClassLoader, String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||