|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectledge.configuration.CustomizedConfigurationProvider
public class CustomizedConfigurationProvider
Provides Configuration objects to the components being initialized using ConfigurationFactory.
| Field Summary | |
|---|---|
private ConfigurationFactory |
configurationFactory
|
| Constructor Summary | |
|---|---|
CustomizedConfigurationProvider(ConfigurationFactory configurationFactory)
Creates new CustomizedConfigurationProvider instance. |
|
| Method Summary | |
|---|---|
protected String |
getComponentName(Object componentKey)
Returns human readable name of the component. |
Class |
getCustomizedComponentImplementation()
Returns the type of the customized components. |
Object |
getCustomizedComponentInstance(org.picocontainer.PicoContainer container,
Object componentKey,
Class componentImplementation)
Returns a customized component instance. |
void |
verify(org.picocontainer.PicoContainer container)
Verifies if the customized component can be instantiated using the dependencies present in the associated container. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private ConfigurationFactory configurationFactory
| Constructor Detail |
|---|
public CustomizedConfigurationProvider(ConfigurationFactory configurationFactory)
configurationFactory - the configuration factory.| Method Detail |
|---|
public Object getCustomizedComponentInstance(org.picocontainer.PicoContainer container,
Object componentKey,
Class componentImplementation)
throws org.picocontainer.PicoInitializationException,
org.picocontainer.PicoIntrospectionException
getCustomizedComponentInstance in interface CustomizedComponentProvidercontainer - the container.componentKey - requesting component's key.componentImplementation - requesting component's implmenetation class.
org.picocontainer.PicoInitializationException - if the customized component cannot be initialized.
org.picocontainer.PicoIntrospectionException - if the customized component cannot be initialized.
UnsupportedKeyTypeException - if the componentKey has unsupported type.public Class getCustomizedComponentImplementation()
getCustomizedComponentImplementation in interface CustomizedComponentProvider
public void verify(org.picocontainer.PicoContainer container)
throws org.picocontainer.PicoVerificationException
verify in interface CustomizedComponentProvidercontainer - the container.
org.picocontainer.PicoVerificationException - if the container does not contain required
dependencies.
protected String getComponentName(Object componentKey)
throws UnsupportedKeyTypeException
componentKey - the component key.
UnsupportedKeyTypeException - if the component key is of unsupported type.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||