WeblogicXercesOutputFormat
, WeblogicXercesSerializer
public abstract class WeblogicXercesImplementation
extends java.lang.Object
Constructor | Description |
---|---|
WeblogicXercesImplementation() |
Modifier and Type | Method | Description |
---|---|---|
protected static java.lang.reflect.Method |
getMethod(java.lang.Class aClass,
java.lang.String methodName,
java.lang.Class[] parameterTypes) |
Returns a Method object that reflects the specified public member method of the class
or interface represented by
aClass . |
protected static void |
handleMethodInvokeException(java.lang.Exception e) |
|
protected static void |
handleMethodInvokeException(java.lang.String message,
java.lang.Exception e) |
Throws a Runtime exception with
e 's message as its
detail message. |
static void |
handleStaticInitException(java.lang.Exception e) |
|
static void |
handleStaticInitException(java.lang.String message,
java.lang.Exception e) |
Throws a Runtime exception with
e 's message as its
detail message. |
protected java.lang.Object |
invoke(java.lang.Object anObject,
java.lang.reflect.Method method,
java.lang.Object[] params) |
Invokes a method.
|
protected static java.lang.reflect.Method getMethod(java.lang.Class aClass, java.lang.String methodName, java.lang.Class[] parameterTypes)
aClass
.
handleStaticInitException(Exception)
.aClass
- The class.methodName
- The name of the method.parameterTypes
- The list of parameters.Class.getMethod(java.lang.String, java.lang.Class[])
protected java.lang.Object invoke(java.lang.Object anObject, java.lang.reflect.Method method, java.lang.Object[] params)
Method.invoke(java.lang.Object, java.lang.Object[])
. If either
an IllegalArgumentException, IllegalAccessException or InvocationTargetException is thrown,
calls handleMethodInvokeException(Exception)
.anObject
- The object instance to invoke the method on.method
- The method to invoke.params
- The parameters to pass to the method.Method.invoke(java.lang.Object, java.lang.Object[])
public static void handleStaticInitException(java.lang.Exception e)
public static void handleStaticInitException(java.lang.String message, java.lang.Exception e)
e
's message
as its
detail message. Also logs the exception as an error.
Called if an error occurs during the static initialization of WeblogicXercesSerializer
& OutputFormat (these classes use reflection to get the Weblogic classes & methods).message
- The Message that will be inserted before e
's
message
in the RuntimeException's detail message.e
- The exception that will be "wrapped" in a RuntimeExceptionprotected static void handleMethodInvokeException(java.lang.Exception e)
protected static void handleMethodInvokeException(java.lang.String message, java.lang.Exception e)
e
's message
as its
detail message. Also logs the exception as an error.message
- The Message that will be inserted before e
's
message
in the RuntimeException's detail message.e
- The exception that will be "wrapped" in a RuntimeException.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com