public void destroy(Object instance) throws TargetDestructionException {
if (configuration.getDestroyInvoker() != null) {
try {
configuration.getDestroyInvoker().invokeEvent(instance);
} catch (ObjectCallbackException e) {
throw new TargetDestructionException("Error destroying component instance : " + getUri().toString(), e);
}
}
}