in src/java/org/apache/fulcrum/yaafi/framework/component/AvalonServiceComponentImpl.java [344:368]
public void configure(Configuration configuration) throws ConfigurationException
{
Object rawInstance = this.getRawInstance(false);
if( rawInstance instanceof Configurable )
{
try
{
this.getParentLogger().debug( "Configurable.configure() for " + this.getShorthand() );
((Configurable) rawInstance).configure(configuration);
}
catch (ConfigurationException e)
{
String msg = "Configuring the following service failed : " + this.getShorthand();
this.getParentLogger().error(msg,e);
throw e;
}
catch (Throwable t)
{
String msg = "Configuring the following service failed : " + this.getShorthand();
this.getParentLogger().error(msg,t);
throw new ConfigurationException(msg,t);
}
}
}