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.alternatives   
org.picocontainer.defaults This package contains the default implementation of the PicoContainer API. 
 

Uses of PicoRegistrationException in org.picocontainer
 

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.alternatives
 

Methods in org.picocontainer.alternatives that throw PicoRegistrationException
 ComponentAdapter AbstractDelegatingMutablePicoContainer.registerComponentImplementation(Object componentKey, Class componentImplementation)
           
 ComponentAdapter AbstractDelegatingMutablePicoContainer.registerComponentImplementation(Object componentKey, Class componentImplementation, Parameter[] parameters)
           
 ComponentAdapter AbstractDelegatingMutablePicoContainer.registerComponentImplementation(Class componentImplementation)
           
 ComponentAdapter AbstractDelegatingMutablePicoContainer.registerComponentInstance(Object componentInstance)
           
 ComponentAdapter AbstractDelegatingMutablePicoContainer.registerComponentInstance(Object componentKey, Object componentInstance)
           
 ComponentAdapter AbstractDelegatingMutablePicoContainer.registerComponent(ComponentAdapter componentAdapter)
           
 ComponentAdapter ImplementationHidingCachingPicoContainer.registerComponentImplementation(Object componentKey, Class componentImplementation)
           
 ComponentAdapter ImplementationHidingCachingPicoContainer.registerComponentImplementation(Object componentKey, Class componentImplementation, Parameter[] parameters)
           
 ComponentAdapter ImplementationHidingPicoContainer.registerComponentImplementation(Object componentKey, Class componentImplementation)
           
 ComponentAdapter ImplementationHidingPicoContainer.registerComponentImplementation(Object componentKey, Class componentImplementation, Parameter[] parameters)
           
 

Uses of PicoRegistrationException in org.picocontainer.defaults
 

Subclasses of PicoRegistrationException in org.picocontainer.defaults
 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
           
 

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)
          Same as DefaultPicoContainer.registerComponentImplementation(java.lang.Object, java.lang.Class, org.picocontainer.Parameter[]) but with parameters as a List.
 



Copyright © 2003-2004 Codehaus. All Rights Reserved.