it.imolinfo.jbi4ejb.webservice.generator.bcm
Class RemoteEnancherAdapter
java.lang.Object
org.objectweb.asm.ClassAdapter
it.imolinfo.jbi4ejb.webservice.generator.bcm.RemoteEnancherAdapter
- All Implemented Interfaces:
- org.objectweb.asm.ClassVisitor
public class RemoteEnancherAdapter
- extends org.objectweb.asm.ClassAdapter
"Remotizes" the interface. A copy from the jbi4corba project, but no "CorbaInterface" is added.
- Author:
- Marco Piraccini
Fields inherited from class org.objectweb.asm.ClassAdapter |
cv |
Constructor Summary |
RemoteEnancherAdapter(org.objectweb.asm.ClassVisitor cv,
java.lang.String portTypeClassName)
Constructor. |
Method Summary |
java.lang.String |
getCompleteName()
Gets the complete name. |
void |
visit(int version,
int access,
java.lang.String name,
java.lang.String signature,
java.lang.String superName,
java.lang.String[] interfaces)
Adds the java.rmi.Remote . |
org.objectweb.asm.MethodVisitor |
visitMethod(int access,
java.lang.String name,
java.lang.String desc,
java.lang.String signature,
java.lang.String[] exceptions)
Adds the java.rmi.Exception to the exceptions throws. |
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 |
RemoteEnancherAdapter
public RemoteEnancherAdapter(org.objectweb.asm.ClassVisitor cv,
java.lang.String portTypeClassName)
- Constructor.
- Parameters:
cv
- The ClassVisitor
portTypeClassName
- The port type class name
visit
public void visit(int version,
int access,
java.lang.String name,
java.lang.String signature,
java.lang.String superName,
java.lang.String[] interfaces)
- Adds the
java.rmi.Remote
.
- Specified by:
visit
in interface org.objectweb.asm.ClassVisitor
- Overrides:
visit
in class org.objectweb.asm.ClassAdapter
- Parameters:
version
- The versionaccess
- The access modifiername
- The method namesignature
- The signaturesuperName
- The superclass nameinterfaces
- The interfaces implemented
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)
- Adds the
java.rmi.Exception
to the exceptions throws.
- 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 method descsignature
- The signatureexceptions
- The exception raised
- Returns:
- The method visitor
- See Also:
ClassAdapter.visitMethod(int, java.lang.String,
java.lang.String, java.lang.String, java.lang.String[])
getCompleteName
public java.lang.String getCompleteName()
- Gets the complete name.
- Returns:
- the complete name
Copyright © 2007-2008 Imola Informatica. All Rights Reserved.