com.sun.ejb.codegen
Class RemoteGenerator

java.lang.Object
  extended by com.sun.ejb.codegen.Generator
      extended by com.sun.ejb.codegen.RemoteGenerator
All Implemented Interfaces:
ClassGeneratorFactory

public class RemoteGenerator
extends Generator
implements ClassGeneratorFactory

This class is used to generate the RMI-IIOP version of a remote business interface.


Field Summary
 
Fields inherited from class com.sun.ejb.codegen.Generator
_logger, ejbClassSymbol
 
Constructor Summary
RemoteGenerator(ClassLoader cl, String businessIntf)
          Construct the Wrapper generator with the specified deployment descriptor and class loader.
 
Method Summary
 String className()
           
 void evaluate()
           
 String getGeneratedClass()
          Get the fully qualified name of the generated class.
 
Methods inherited from class com.sun.ejb.codegen.Generator
getBaseName, getPackageName, getSecurityAttribute, getTxAttribute, getUniqueClassName, isEJBIntfMethod, printStaticMethodInit, printType, removeDups
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteGenerator

public RemoteGenerator(ClassLoader cl,
                       String businessIntf)
                throws GeneratorException
Construct the Wrapper generator with the specified deployment descriptor and class loader.

Throws:
GeneratorException.
GeneratorException
Method Detail

getGeneratedClass

public String getGeneratedClass()
Get the fully qualified name of the generated class. Note: the remote/local implementation class is in the same package as the bean class, NOT the remote/local interface.

Specified by:
getGeneratedClass in class Generator
Returns:
the name of the generated class.

className

public String className()
Specified by:
className in interface ClassGeneratorFactory

evaluate

public void evaluate()
Specified by:
evaluate in interface ClassGeneratorFactory


Copyright © 2012 GlassFish Community. All Rights Reserved.