in src/java/org/apache/fulcrum/yaafi/framework/component/AvalonServiceComponentImpl.java [375:399]
public void parameterize(Parameters parameters) throws ParameterException
{
Object rawInstance = this.getRawInstance(false);
if( rawInstance instanceof Parameterizable )
{
try
{
this.getParentLogger().debug( "Parameterizable.parametrize() for " + this.getShorthand() );
((Parameterizable) rawInstance).parameterize(parameters);
}
catch (ParameterException e)
{
String msg = "Parameterizing the following service failed : " + this.getShorthand();
this.getParentLogger().error(msg,e);
throw e;
}
catch (Throwable t)
{
String msg = "Parameterizing the following service failed : " + this.getShorthand();
this.getParentLogger().error(msg,t);
throw new ParameterException(msg,t);
}
}
}