it.imolinfo.jbi4corba.webservice.generator.bcm
Class CorbaOnewayAdapter
java.lang.Object
org.objectweb.asm.ClassAdapter
it.imolinfo.jbi4corba.webservice.generator.bcm.CorbaOnewayAdapter
- All Implemented Interfaces:
- org.objectweb.asm.ClassVisitor
public class CorbaOnewayAdapter
- extends org.objectweb.asm.ClassAdapter
This class is used to discover if the class visited is a corba stub with
oneway operations.
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 |
stringWriter
protected StringWriter stringWriter
- The class writer that contains the bytecode.
CorbaOnewayAdapter
public CorbaOnewayAdapter(org.objectweb.asm.ClassVisitor cv,
StringWriter cw)
- The adapater used to manipulate the code.
- Parameters:
cv
- The ClassVisitor used in this object.cw
- The string writer.
visit
public void visit(int version,
int access,
String name,
String signature,
String superName,
String[] interfaces)
- Ovveride.
- 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 superNameinterfaces
- 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 descsignature
- The signatureexceptions
- The exceptions
- Returns:
- The return
getInternalClassName
public String getInternalClassName()
- Returns:
- the return
setInternalClassName
public void setInternalClassName(String internalClassName)
- Parameters:
internalClassName
- The internal class name
getOnewayOperationList
public List<String> getOnewayOperationList()
- Returns:
- The return
setOnewayOperationList
public void setOnewayOperationList(List<String> onewayOperationList)
- Parameters:
onewayOperationList
- The oneway operation list
getAssociatedInterface
public String getAssociatedInterface()
- Returns:
- The return
setAssociatedInterface
public void setAssociatedInterface(String associatedInterface)
- Parameters:
associatedInterface
- The associated interface.
Copyright © 2005-2010 Imola Informatica. All Rights Reserved.