it.imolinfo.jbi4corba.webservice.generator.bcm
Class RemoteEnhancerAdapter
java.lang.Object
org.objectweb.asm.ClassAdapter
it.imolinfo.jbi4corba.webservice.generator.bcm.RemoteEnhancerAdapter
- All Implemented Interfaces:
- org.objectweb.asm.ClassVisitor
public class RemoteEnhancerAdapter
- extends org.objectweb.asm.ClassAdapter
Bytecode manipulation.
1) add the java.rmi.Remote interface to the class
2) add the java.rmi.RemoteException to the 'throws' clause of each method.
Fields inherited from class org.objectweb.asm.ClassAdapter |
cv |
Methods inherited from class org.objectweb.asm.ClassAdapter |
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 |
portTypeClassName
protected String portTypeClassName
- The name of the class that represents the PortType.
RemoteEnhancerAdapter
public RemoteEnhancerAdapter(org.objectweb.asm.ClassVisitor arg0,
String portTypeClassName)
- Constructor.
- Parameters:
arg0
- The ClassVisitorportTypeClassName
- The port type class name
visit
public void visit(int version,
int access,
String name,
String signature,
String superName,
String[] interfaces)
- Override.
- Specified by:
visit
in interface org.objectweb.asm.ClassVisitor
- Overrides:
visit
in class org.objectweb.asm.ClassAdapter
- Parameters:
version
- The versionaccess
- The accessname
- The namesignature
- The signaturesuperName
- The super nameinterfaces
- The interfaces
visitMethod
public org.objectweb.asm.MethodVisitor visitMethod(int access,
String name,
String desc,
String signature,
String[] exceptions)
- Override.
- Specified by:
visitMethod
in interface org.objectweb.asm.ClassVisitor
- Overrides:
visitMethod
in class org.objectweb.asm.ClassAdapter
- Parameters:
access
- The accessname
- The namedesc
- The descriptionsignature
- The signatureexceptions
- The exceptions
- Returns:
- The return
getCompleteName
public String getCompleteName()
- Returns:
- the complete name
Copyright © 2005-2010 Imola Informatica. All Rights Reserved.