if (isInstallInvocationIgnored(context) == false)
{
try
{
MethodJoinpoint joinpoint = invokeInstallLifecycle(trace, context, configurator, target, info, metaData, true);
joinpoint.setTarget(target);
cleanupJoinPoint(context, joinpoint);
}
catch (Throwable ignored)
{
}
}
if (isUninstallInvocationIgnored(context) == false)
{
String method = getUninstallMethod(context);
List<ParameterMetaData> parameters = getUninstallParameters(context);
MethodJoinpoint joinpoint;
try
{
ClassLoader cl = Configurator.getClassLoader(metaData);
try
{
joinpoint = configurator.getMethodJoinPoint(info, cl, method, parameters, false, true);
joinpoint.setTarget(target);
dispatchJoinPoint(context, joinpoint);
}
finally
{
joinpoint = configurator.ungetMethodJoinPoint(info, cl, method, parameters, false, true);
joinpoint.setTarget(target);
cleanupJoinPoint(context, joinpoint);
}
}
catch (JoinpointException ignored)
{