code: private Object executeMethod(final Method method, final ServletContextImpl context, final Object[] params)
              throws PrivilegedActionException, IllegalAccessException, InvocationTargetException {
  
          if (SecurityUtil.isPackageProtectionEnabled()) {
              return AccessController.doPrivileged(new PrivilegedExceptionAction<Object>() {
                  public Object run() throws IllegalAccessException, InvocationTargetException {
                      return method.invoke(context, params);
                  }
              });
          } else {
              return method.invoke(context, params);
          }
      }
docs: Executes the method of the specified <code>ApplicationContext</code>
  
  @param method The method object to be invoked.
  @param context The AppliationContext object on which the method will be invoked
  @param params The arguments passed to the called method.