|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfun.yan.containers.SimpleContainer
jfun.yan.containers.ImmutablePreferredContainer
jfun.yan.containers.ManualWiringContainer
public class ManualWiringContainer
A container where auto-wiring is disabled.
Codehaus.org.
| Constructor Summary | |
|---|---|
ManualWiringContainer(Registrar reg)
Create a ManualWiringContainer object. |
|
| Method Summary | |
|---|---|
Dependency |
getDependency(java.lang.Object key,
ComponentMap cmap)
Gets the Dependency object for a component key. |
Dependency |
getDependencyOfType(java.lang.Class type,
ComponentMap cmap)
Gets the Dependency object for a component instance type. |
| Methods inherited from class jfun.yan.containers.ImmutablePreferredContainer |
|---|
containsType, getComponentOfType, getComponentsOfType, getFactory, getFactory, getFactoryOfType, getFactoryOfType, getInstance, getInstance, getInstanceOfType, getInstanceOfType, registerComponent, unregisterComponent, unregisterComponentsOfType |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ManualWiringContainer(Registrar reg)
reg - the Registrar object to use.| Method Detail |
|---|
public Dependency getDependency(java.lang.Object key,
ComponentMap cmap)
ComponentMap
getDependency in interface ComponentMapgetDependency in class SimpleContainerkey - The component key.cmap - The ComponentMap object from which the parts of
the component should be obtained.
This parameter is typically passed as 'this' so that the parts are
created in the same container.
When implementing container interaction such as inheritance,
this parameter may be passed as a different ComponentMap object.
public Dependency getDependencyOfType(java.lang.Class type,
ComponentMap cmap)
ComponentMap
getDependencyOfType in interface ComponentMapgetDependencyOfType in class SimpleContainertype - The component instance type.cmap - The ComponentMap object from which the parts of
the component should be obtained.
This parameter is typically passed as 'this' so that the parts are
created in the same container.
When implementing container interaction such as inheritance,
this parameter may be passed as a different ComponentMap object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||