it.imolinfo.jbi4ejb.webservice.generator.bcm
Class RemoteInterfaceExceptionAdapter
java.lang.Object
org.objectweb.asm.ClassAdapter
it.imolinfo.jbi4ejb.webservice.generator.bcm.RemoteInterfaceExceptionAdapter
- All Implemented Interfaces:
- org.objectweb.asm.ClassVisitor
public class RemoteInterfaceExceptionAdapter
- extends org.objectweb.asm.ClassAdapter
Adds the correct managed exception to the remote interface.
- Author:
- Marco Piraccini
Fields inherited from class org.objectweb.asm.ClassAdapter |
cv |
Method Summary |
java.util.List<java.lang.String> |
getExceptionsAdded()
Gets the exceptions added to the interface. |
org.objectweb.asm.MethodVisitor |
visitMethod(int access,
java.lang.String name,
java.lang.String desc,
java.lang.String signature,
java.lang.String[] exceptions)
Look for the Exception wrapped by the
org.codehaus.xfire.fault.FaultInfoException classes
generated by WSDL. |
Methods inherited from class org.objectweb.asm.ClassAdapter |
visit, visitAnnotation, visitAttribute, visitEnd, visitField, visitInnerClass, visitOuterClass, visitSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteInterfaceExceptionAdapter
public RemoteInterfaceExceptionAdapter(org.objectweb.asm.ClassVisitor arg0,
java.lang.ClassLoader classLoader)
- Constructor.
- Parameters:
arg0
- The ClassVisitor
classLoader
- The classLoader
visitMethod
public org.objectweb.asm.MethodVisitor visitMethod(int access,
java.lang.String name,
java.lang.String desc,
java.lang.String signature,
java.lang.String[] exceptions)
- Look for the Exception wrapped by the
org.codehaus.xfire.fault.FaultInfoException
classes
generated by WSDL.
- Specified by:
visitMethod
in interface org.objectweb.asm.ClassVisitor
- Overrides:
visitMethod
in class org.objectweb.asm.ClassAdapter
- Parameters:
access
- The access modifiername
- The method namedesc
- The descriptionsignature
- The method signatureexceptions
- The throwed exceptions
- Returns:
- The MethodVisitor
- See Also:
ClassAdapter.visitMethod(int, java.lang.String,
java.lang.String, java.lang.String, java.lang.String[])
getExceptionsAdded
public java.util.List<java.lang.String> getExceptionsAdded()
- Gets the exceptions added to the interface.
- Returns:
- the exceptions added
Copyright © 2007-2008 Imola Informatica. All Rights Reserved.