in src/java/org/apache/fulcrum/yaafi/framework/component/ServiceComponentImpl.java [98:128]
public void loadImplemtationClass(ClassLoader classLoader)
throws ClassNotFoundException
{
ClassLoader currClassLoader = null;
if( classLoader != null )
{
currClassLoader = classLoader;
}
else
{
currClassLoader = this.getClass().getClassLoader();
}
try
{
this.implementationClazz = currClassLoader.loadClass(
this.getRoleEntry().getImplementationClazzName()
);
}
catch(ClassNotFoundException e)
{
String msg = "Failed to load the implementation class "
+ this.getRoleEntry().getImplementationClazzName();
this.getParentLogger().error(msg,e);
throw e;
}
}