org.picocontainer.defaults
Class BeanPropertyComponentAdapterFactory.Adapter

java.lang.Object
  extended byorg.picocontainer.defaults.DecoratingComponentAdapter
      extended byorg.picocontainer.defaults.BeanPropertyComponentAdapterFactory.Adapter
All Implemented Interfaces:
ComponentAdapter, java.io.Serializable
Enclosing class:
BeanPropertyComponentAdapterFactory

public class BeanPropertyComponentAdapterFactory.Adapter
extends DecoratingComponentAdapter

See Also:
Serialized Form

Constructor Summary
BeanPropertyComponentAdapterFactory.Adapter(ComponentAdapter delegate, java.util.Map propertyValues)
           
 
Method Summary
 java.lang.Object getComponentInstance()
          Gets the component instance.
 void setProperties(java.util.Map properties)
          Sets the bean property values that should be set upon creation.
 
Methods inherited from class org.picocontainer.defaults.DecoratingComponentAdapter
getComponentImplementation, getComponentKey, getContainer, getDelegate, setContainer, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanPropertyComponentAdapterFactory.Adapter

public BeanPropertyComponentAdapterFactory.Adapter(ComponentAdapter delegate,
                                                   java.util.Map propertyValues)
                                            throws BeanPropertyComponentAdapterFactory.PicoBeanInfoInitializationException
Method Detail

getComponentInstance

public java.lang.Object getComponentInstance()
                                      throws PicoInitializationException,
                                             PicoIntrospectionException,
                                             AssignabilityRegistrationException,
                                             NotConcreteRegistrationException
Description copied from interface: ComponentAdapter
Gets the component instance. This method will usually create a new instance for each call (an exception is CachingComponentAdapter).

Specified by:
getComponentInstance in interface ComponentAdapter
Overrides:
getComponentInstance in class DecoratingComponentAdapter
Throws:
PicoInitializationException
PicoIntrospectionException
AssignabilityRegistrationException
NotConcreteRegistrationException

setProperties

public void setProperties(java.util.Map properties)
Sets the bean property values that should be set upon creation.

Parameters:
properties - bean properties


Copyright © 2003-2004 Codehaus. All Rights Reserved.