Uses of Class
org.picocontainer.PicoRegistrationException

Packages that use PicoRegistrationException
org.picocontainer This package contains the core API for PicoContainer, a compact container for working with the dependency injection pattern. 
org.picocontainer.defaults This package contains the default implementation of the PicoContainer API
 

Uses of PicoRegistrationException in org.picocontainer
 

Subclasses of PicoRegistrationException in org.picocontainer
 class PicoIntrospectionException
          Subclass of PicoException that is thrown when there is a problem creating, providing or locating a component instance or a part of the PicoContainer API, for example, when a request for a component is ambiguous.
 

Methods in org.picocontainer that throw PicoRegistrationException
 ComponentAdapter MutablePicoContainer.registerComponentImplementation(Object componentKey, Class componentImplementation)
          Register a component.
 ComponentAdapter MutablePicoContainer.registerComponentImplementation(Object componentKey, Class componentImplementation, Parameter[] parameters)
          Register a component.
 ComponentAdapter MutablePicoContainer.registerComponentImplementation(Class componentImplementation)
          Register a component using the componentImplementation as key.
 ComponentAdapter MutablePicoContainer.registerComponentInstance(Object componentInstance)
          Register an arbitrary object.
 ComponentAdapter MutablePicoContainer.registerComponentInstance(Object componentKey, Object componentInstance)
          Register an arbitrary object as a component in the container.
 ComponentAdapter MutablePicoContainer.registerComponent(ComponentAdapter componentAdapter)
          Register a component via a ComponentAdapter.
 

Uses of PicoRegistrationException in org.picocontainer.defaults
 

Subclasses of PicoRegistrationException in org.picocontainer.defaults
 class AmbiguousComponentResolutionException
          Exception that is thrown as part of the introspection.
 class AssignabilityRegistrationException
          A subclass of PicoRegistrationException that is thrown during component registration if the component's key is a type and the implementation is not assignable to.
 class DuplicateComponentKeyRegistrationException
           
 class NotConcreteRegistrationException
           
 class TooManySatisfiableConstructorsException
           
 class UnsatisfiableDependenciesException
           
 

Methods in org.picocontainer.defaults that throw PicoRegistrationException
 ComponentAdapter DefaultPicoContainer.registerComponentInstance(Object component)
          Register an arbitrary object. The class of the object will be used as a key. Calling this method is equivalent to calling * registerComponentImplementation(componentImplementation, componentImplementation). The returned ComponentAdapter will be an InstanceComponentAdapter.
 ComponentAdapter DefaultPicoContainer.registerComponentInstance(Object componentKey, Object componentInstance)
          Register an arbitrary object as a component in the container. This is handy when other components in the same container have dependencies on this kind of object, but where letting the container manage and instantiate it is impossible.

Beware that too much use of this method is an antipattern. The returned ComponentAdapter will be an InstanceComponentAdapter.

 ComponentAdapter DefaultPicoContainer.registerComponentImplementation(Class componentImplementation)
          Register a component using the componentImplementation as key. Calling this method is equivalent to calling registerComponentImplementation(componentImplementation, componentImplementation). The returned ComponentAdapter will be instantiated by the ComponentAdapterFactory passed to the container's constructor.
 ComponentAdapter DefaultPicoContainer.registerComponentImplementation(Object componentKey, Class componentImplementation)
          Register a component. The returned ComponentAdapter will be instantiated by the ComponentAdapterFactory passed to the container's constructor.
 ComponentAdapter DefaultPicoContainer.registerComponentImplementation(Object componentKey, Class componentImplementation, Parameter[] parameters)
          Register a component. The returned ComponentAdapter will be instantiated by the ComponentAdapterFactory passed to the container's constructor.
 ComponentAdapter DefaultPicoContainer.registerComponentImplementation(Object componentKey, Class componentImplementation, List parameters)
           
 



Copyright © 2003-2004 Codehaus. All Rights Reserved.