|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.nanocontainer.DefaultNanoContainer
The default implementation of NanoContainer.
| Constructor Summary | |
DefaultNanoContainer()
Beware - no parent container and no parent classloader. |
|
DefaultNanoContainer(java.lang.ClassLoader parentClassLoader)
|
|
DefaultNanoContainer(java.lang.ClassLoader parentClassLoader,
org.picocontainer.MutablePicoContainer picoContainer)
|
|
DefaultNanoContainer(org.picocontainer.MutablePicoContainer picoContainer)
|
|
DefaultNanoContainer(NanoContainer parent)
|
|
| Method Summary | |
ClassPathElement |
addClassLoaderURL(java.net.URL url)
Adds a new URL that will be used in classloading |
org.picocontainer.MutablePicoContainer |
addDecoratingPicoContainer(java.lang.Class picoContainerClass)
|
java.lang.ClassLoader |
getComponentClassLoader()
|
java.lang.Object |
getComponentInstanceOfType(java.lang.String componentType)
Find a component instance matching the specified type. |
org.picocontainer.MutablePicoContainer |
getPico()
Returns the wrapped PicoContainer instance (russian doll concept). |
org.picocontainer.ComponentAdapter |
registerComponentImplementation(java.lang.Object key,
java.lang.String componentImplementationClassName)
|
org.picocontainer.ComponentAdapter |
registerComponentImplementation(java.lang.Object key,
java.lang.String componentImplementationClassName,
org.picocontainer.Parameter[] parameters)
|
org.picocontainer.ComponentAdapter |
registerComponentImplementation(java.lang.Object key,
java.lang.String componentImplementationClassName,
java.lang.String[] parameterTypesAsString,
java.lang.String[] parameterValuesAsString)
|
org.picocontainer.ComponentAdapter |
registerComponentImplementation(java.lang.String componentImplementationClassName)
|
org.picocontainer.ComponentAdapter |
registerComponentImplementation(java.lang.String componentImplementationClassName,
java.lang.String[] parameterTypesAsString,
java.lang.String[] parameterValuesAsString)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultNanoContainer(java.lang.ClassLoader parentClassLoader,
org.picocontainer.MutablePicoContainer picoContainer)
public DefaultNanoContainer(java.lang.ClassLoader parentClassLoader)
public DefaultNanoContainer(org.picocontainer.MutablePicoContainer picoContainer)
public DefaultNanoContainer(NanoContainer parent)
public DefaultNanoContainer()
| Method Detail |
public org.picocontainer.ComponentAdapter registerComponentImplementation(java.lang.String componentImplementationClassName)
throws org.picocontainer.PicoRegistrationException,
java.lang.ClassNotFoundException,
org.picocontainer.PicoIntrospectionException
registerComponentImplementation in interface NanoContainerorg.picocontainer.PicoRegistrationException
java.lang.ClassNotFoundException
org.picocontainer.PicoIntrospectionException
public org.picocontainer.ComponentAdapter registerComponentImplementation(java.lang.Object key,
java.lang.String componentImplementationClassName)
throws java.lang.ClassNotFoundException
registerComponentImplementation in interface NanoContainerjava.lang.ClassNotFoundException
public org.picocontainer.ComponentAdapter registerComponentImplementation(java.lang.Object key,
java.lang.String componentImplementationClassName,
org.picocontainer.Parameter[] parameters)
throws java.lang.ClassNotFoundException
registerComponentImplementation in interface NanoContainerjava.lang.ClassNotFoundException
public org.picocontainer.ComponentAdapter registerComponentImplementation(java.lang.Object key,
java.lang.String componentImplementationClassName,
java.lang.String[] parameterTypesAsString,
java.lang.String[] parameterValuesAsString)
throws org.picocontainer.PicoRegistrationException,
java.lang.ClassNotFoundException,
org.picocontainer.PicoIntrospectionException
registerComponentImplementation in interface NanoContainerorg.picocontainer.PicoRegistrationException
java.lang.ClassNotFoundException
org.picocontainer.PicoIntrospectionException
public org.picocontainer.ComponentAdapter registerComponentImplementation(java.lang.String componentImplementationClassName,
java.lang.String[] parameterTypesAsString,
java.lang.String[] parameterValuesAsString)
throws org.picocontainer.PicoRegistrationException,
java.lang.ClassNotFoundException,
org.picocontainer.PicoIntrospectionException
registerComponentImplementation in interface NanoContainerorg.picocontainer.PicoRegistrationException
java.lang.ClassNotFoundException
org.picocontainer.PicoIntrospectionExceptionpublic ClassPathElement addClassLoaderURL(java.net.URL url)
NanoContainer
addClassLoaderURL in interface NanoContainerurl - public java.lang.ClassLoader getComponentClassLoader()
getComponentClassLoader in interface NanoContainerpublic org.picocontainer.MutablePicoContainer getPico()
NanoContainer
getPico in interface NanoContainerpublic java.lang.Object getComponentInstanceOfType(java.lang.String componentType)
NanoContainer
getComponentInstanceOfType in interface NanoContainercomponentType - the type of the component.
public org.picocontainer.MutablePicoContainer addDecoratingPicoContainer(java.lang.Class picoContainerClass)
addDecoratingPicoContainer in interface NanoContainer
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||