Uses of Interface
jfun.yan.ComponentMap

Packages that use ComponentMap
jfun.yan Basic component combinators and containers. 
jfun.yan.containers This package provides some pre-built container classes. 
jfun.yan.monitoring This package provides a solution for component monitoring to Yan container framework. 
 

Uses of ComponentMap in jfun.yan
 

Subinterfaces of ComponentMap in jfun.yan
 interface Container
          The facade interface which provides the full functionality of yan container.
 interface Registrar
          Registrar is a mutable ComponentMap.
 

Classes in jfun.yan that implement ComponentMap
 class DelegatingComponentMap
          The base class for delegating to a ComponentMap object.
 

Methods in jfun.yan that return ComponentMap
 ComponentMap SimpleDependency.getComponentMap()
           
 ComponentMap ManualDependency.getComponentMap()
           
 ComponentMap Dependency.getComponentMap()
          Get the ComponentMap object.
protected  ComponentMap DelegatingComponentMap.getDelegateTarget()
          Gets the ComponentMap object being delegated.
 

Methods in jfun.yan that return types with arguments of type ComponentMap
static Component<ComponentMap> Components.thisContainer()
          Create a Component object that returns the container object.
 

Methods in jfun.yan with parameters of type ComponentMap
 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 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.
 Factory Container.getFactory(java.lang.Object key, ComponentMap cmap)
          Create an instance of Factory for a component identified by a key.
<T> Factory<T>
Container.getFactoryOfType(java.lang.Class<T> type, ComponentMap cmap)
          Create an instance of Factory for a component of the provided type.
 java.lang.Object Container.getInstance(java.lang.Object key, ComponentMap cmap)
          Create instance for a component identified by a key.
<T> T
Container.getInstanceOfType(java.lang.Class<T> type, ComponentMap cmap)
          Create component instance of the provided type.
 java.util.List Container.getInstances(ComponentMap cmap)
          Create instances of all the components stored in this container.
 void Container.getInstances(java.util.Map store, ComponentMap cmap)
          Create instances of all the components stored in this container.
<T> java.util.List<T>
Container.getInstancesOfType(java.lang.Class<T> type, ComponentMap cmap)
          Create component instances of a provided type.
static
<T> Component<java.util.ArrayList<T>>
Components.useAll(ComponentMap cmap, java.lang.Class<T> type)
          Create a Component object that creates a java.util.List.
static Part Components.useContainer(ComponentMap cmap)
          Create a Part object that redirects the resolution of a typed parameter/property to another container.
static Component Components.useKey(ComponentMap cmap, java.lang.Object key)
          Create a Component object that delegates to another component identified by a key in a container.
static Component Components.useState(ComponentMap cmap, Predicate pred)
          Create a Component object that creates a java.util.List.
static
<T> Component<T>
Components.useType(ComponentMap cmap, java.lang.Class<T> type)
          Create a Component object that delegates to another component in a container.
 void Registrar.verify(ComponentMap cmap)
          Verifies that all the registered components can be satisfied.
 

Constructors in jfun.yan with parameters of type ComponentMap
DelegatingComponentMap(ComponentMap cmap)
          Create new DelegatingComponentMap object.
ManualDependency(ComponentMap cmap, java.lang.Object ckey)
          Create a new ManualDependency object.
SimpleDependency(java.lang.Object ckey, ComponentMap cmap)
          Create a SimpleDependency object.
 

Uses of ComponentMap in jfun.yan.containers
 

Classes in jfun.yan.containers that implement ComponentMap
 class DefaultContainer
          Default container implementation that uses SimpleContainer with SimpleRegistrar.
 class DelegatingContainer
          The base class for delegating to a Container object.
 class ImmutablePreferredContainer
          An optimized container that's fast when it is used immutably.
 class InheritedRegistrar
          This class manages parent-child relationship between two conainers.
 class ManualContainer
          Default container implementation that uses manual wiring.
 class ManualWiringContainer
          A container where auto-wiring is disabled.
 class ProxyContainer
          A container that transforms all the components registered to it to use dynamic proxy for instance creation.
 class SimpleContainer
          A simple implementation of interface Container.
 class SimpleRegistrar
          A simple implementation of Registrar.
 class SingletonContainer
          A container that transforms all Component objects registered into it to singleton.
 class SingletonProxyContainer
          A container that transforms all component registered to use singleton and dynamic proxy when instantiating component.
 class TransformingContainer
          A Container that transforms a Component using a ComponentTransformer object before the component is registered into the container.
 

Methods in jfun.yan.containers with parameters of type ComponentMap
 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 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)
           
 Factory SimpleContainer.getFactory(java.lang.Object key, ComponentMap cmap)
           
 Factory ImmutablePreferredContainer.getFactory(java.lang.Object key, ComponentMap cmap)
           
 Factory DelegatingContainer.getFactory(java.lang.Object key, ComponentMap cmap)
           
<T> Factory<T>
SimpleContainer.getFactoryOfType(java.lang.Class<T> type, ComponentMap cmap)
           
<T> Factory<T>
ImmutablePreferredContainer.getFactoryOfType(java.lang.Class<T> type, ComponentMap cmap)
           
<T> Factory<T>
DelegatingContainer.getFactoryOfType(java.lang.Class<T> type, ComponentMap cmap)
           
 java.lang.Object SimpleContainer.getInstance(java.lang.Object key, ComponentMap cmap)
           
 java.lang.Object ImmutablePreferredContainer.getInstance(java.lang.Object key, ComponentMap cmap)
           
 java.lang.Object DelegatingContainer.getInstance(java.lang.Object key, ComponentMap cmap)
           
<T> T
SimpleContainer.getInstanceOfType(java.lang.Class<T> type, ComponentMap cmap)
           
<T> T
ImmutablePreferredContainer.getInstanceOfType(java.lang.Class<T> type, ComponentMap cmap)
           
<T> T
DelegatingContainer.getInstanceOfType(java.lang.Class<T> type, ComponentMap cmap)
           
 java.util.List SimpleContainer.getInstances(ComponentMap cmap)
           
 java.util.List DelegatingContainer.getInstances(ComponentMap cmap)
           
 void SimpleContainer.getInstances(java.util.Map store, ComponentMap cmap)
           
 void DelegatingContainer.getInstances(java.util.Map store, ComponentMap cmap)
           
<T> java.util.List<T>
SimpleContainer.getInstancesOfType(java.lang.Class<T> type, ComponentMap cmap)
           
<T> java.util.List<T>
DelegatingContainer.getInstancesOfType(java.lang.Class<T> type, ComponentMap cmap)
           
<T> T
SimpleContainer.instantiateComponent(Creator<T> cc, ComponentMap cmap)
           
<T> T
SimpleContainer.instantiateComponent(java.lang.Object key, Creator<T> cc, ComponentMap cmap)
           
 void SimpleRegistrar.verify(ComponentMap cmap)
           
 void SimpleContainer.verify(ComponentMap cmap)
           
 void InheritedRegistrar.verify(ComponentMap cmap)
          Verifies all components in this container.
 void DelegatingContainer.verify(ComponentMap cmap)
           
 

Uses of ComponentMap in jfun.yan.monitoring
 

Classes in jfun.yan.monitoring that implement ComponentMap
 class MonitoringContainer
           A container implementation that adds monitoring support for constructors and methods registered using registerConstructor(), registerStaticMethod() and registerMethod().