|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Dependency | |
|---|---|
| jfun.yan | Basic component combinators and containers. |
| jfun.yan.containers | This package provides some pre-built container classes. |
| jfun.yan.util | Some utility classes used by Yan. |
| Uses of Dependency in jfun.yan |
|---|
| Classes in jfun.yan that implement Dependency | |
|---|---|
class |
ManualDependency
ManualDependency disables auto-wiring by refusing to resolve any component part. |
class |
SimpleDependency
A simple implementation of the Dependency interface. |
| Methods in jfun.yan that return Dependency | |
|---|---|
static Dependency |
Components.bindArguments(Dependency dependency,
ParameterBinder binder)
Customize a Dependency object with a ParameterBinder object. |
static Dependency |
Components.bindProperties(Dependency dependency,
PropertyBinder binder)
Customize a Dependency object with a PropertyBinder object. |
Dependency |
Container.getDependency(java.lang.Object key)
Get the dependency for a component key. |
Dependency |
DelegatingComponentMap.getDependency(java.lang.Object key,
ComponentMap cmap)
|
Dependency |
ComponentMap.getDependency(java.lang.Object key,
ComponentMap cmap)
Gets the Dependency object for a component key. |
Dependency |
Container.getDependencyOfType(java.lang.Class type)
Get the dependency for a component type. |
Dependency |
DelegatingComponentMap.getDependencyOfType(java.lang.Class type,
ComponentMap cmap)
|
Dependency |
ComponentMap.getDependencyOfType(java.lang.Class type,
ComponentMap cmap)
Gets the Dependency object for a component instance type. |
Dependency |
SimpleDependency.getOriginal()
|
Dependency |
ManualDependency.getOriginal()
|
Dependency |
Dependency.getOriginal()
To get the Dependency object before the current one is customized, if any. |
Dependency |
SimpleDependency.getParent()
|
Dependency |
ManualDependency.getParent()
|
Dependency |
Dependency.getParent()
Get the dependency for the parent component. |
Dependency |
SimpleDependency.seal()
|
Dependency |
ManualDependency.seal()
|
Dependency |
Dependency.seal()
To create a Dependency that's free of auto-wiring. |
| Methods in jfun.yan with parameters of type Dependency | |
|---|---|
static Dependency |
Components.bindArguments(Dependency dependency,
ParameterBinder binder)
Customize a Dependency object with a ParameterBinder object. |
static Dependency |
Components.bindProperties(Dependency dependency,
PropertyBinder binder)
Customize a Dependency object with a PropertyBinder object. |
java.lang.Object |
Part.create(java.lang.Class type,
Dependency pp)
Creates a part instance. |
T |
SimpleComponent.create(Dependency dep)
|
java.lang.Object |
DelegatingComponent.create(Dependency dep)
|
T |
Creator2Component.create(Dependency dep)
|
T |
Creator.create(Dependency dep)
Create a component instance. |
void |
PropertiesInjector.injectProperties(java.lang.Object obj,
Dependency dep)
Pull property values and inject to the object. |
void |
FilteredPropertiesInjector.injectProperties(java.lang.Object obj,
Dependency dep)
|
void |
DefaultPropertiesInjector.injectProperties(java.lang.Object obj,
Dependency dep)
|
java.lang.Class |
Part.verify(java.lang.Class type,
Dependency pp)
Verifies that the part can be satisfied. |
java.lang.Class |
Verifiable.verify(Dependency dep)
Verifies that the component's dependencies are satisfiable. |
java.lang.Class |
SimpleComponent.verify(Dependency dep)
|
java.lang.Class |
DelegatingComponent.verify(Dependency dep)
|
java.lang.Class<T> |
Creator2Component.verify(Dependency dep)
|
void |
PropertiesInjector.verifyProperties(java.lang.Class type,
Dependency dep)
Verify that all required properties are resolveable. |
void |
FilteredPropertiesInjector.verifyProperties(java.lang.Class type,
Dependency dep)
|
void |
DefaultPropertiesInjector.verifyProperties(java.lang.Class type,
Dependency dep)
|
| Uses of Dependency in jfun.yan.containers |
|---|
| Methods in jfun.yan.containers that return Dependency | |
|---|---|
Dependency |
SimpleContainer.getDependency(java.lang.Object key)
|
Dependency |
DelegatingContainer.getDependency(java.lang.Object key)
|
Dependency |
SimpleRegistrar.getDependency(java.lang.Object ckey,
ComponentMap cmap)
This uses SimpleDependency which resolves parameters and arguments by type. |
Dependency |
SimpleContainer.getDependency(java.lang.Object key,
ComponentMap cmap)
|
Dependency |
ManualWiringContainer.getDependency(java.lang.Object key,
ComponentMap cmap)
|
Dependency |
InheritedRegistrar.getDependency(java.lang.Object key,
ComponentMap cmap)
Gets the Dependency object for a component identified by a key. |
Dependency |
DelegatingContainer.getDependency(java.lang.Object key,
ComponentMap cmap)
|
Dependency |
SimpleContainer.getDependencyOfType(java.lang.Class type)
|
Dependency |
DelegatingContainer.getDependencyOfType(java.lang.Class type)
|
Dependency |
SimpleRegistrar.getDependencyOfType(java.lang.Class type,
ComponentMap cmap)
This uses SimpleDependency which resolves parameters and arguments by type. |
Dependency |
SimpleContainer.getDependencyOfType(java.lang.Class type,
ComponentMap cmap)
|
Dependency |
ManualWiringContainer.getDependencyOfType(java.lang.Class type,
ComponentMap cmap)
|
Dependency |
InheritedRegistrar.getDependencyOfType(java.lang.Class type,
ComponentMap cmap)
Gets the Dependency object for a component of a provided type. |
Dependency |
DelegatingContainer.getDependencyOfType(java.lang.Class type,
ComponentMap cmap)
|
| Uses of Dependency in jfun.yan.util |
|---|
| Methods in jfun.yan.util with parameters of type Dependency | |
|---|---|
static void |
Utils.injectProperties(BeanType btype,
java.lang.Object obj,
java.util.Set props,
Dependency dep)
Inject property values into a bean. |
static void |
Utils.injectProperty(BeanType btype,
java.lang.Object obj,
java.lang.String name,
Dependency dep)
Inject a property value. |
static void |
Utils.verifyProperties(BeanType btype,
java.util.Set props,
Dependency dep)
Verify that a set of properties can be resolved. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||