code: public static void callPreDestroyMethod(final Object instance)
     {
        if (instance == null)
           throw new IllegalArgumentException();
  
        final Collection<Method> methods = PRE_DESTROY_METHOD_FINDER.process(instance.getClass());
  
        if (methods.size() > 0)
        {
           final Method method = methods.iterator().next();
           try
           {
              invokeMethod(instance, method, null);
           }
           catch (Exception e)
           {
              final String message = "Calling of @PreDestroy annotated method failed: " + method;
              InjectionException.rethrow(message, e);
           }
        }
     }
docs: Calls @PreDestroy annotated method if exists.
  
  @param instance to invoke @PreDestroy annotated method on
  @see org.jboss.ws.common.injection.finders.PreDestroyMethodFinder
  @see javax.annotation.PreDestroy