com.sun.ejb.codegen
Class GenericHomeGenerator

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

public class GenericHomeGenerator
extends Generator
implements ClassGeneratorFactory

This class is used to generate a sub-interface of the GenericEJBHome interface that will be loaded within each application.


Field Summary
 
Fields inherited from class com.sun.ejb.codegen.Generator
_logger, ejbClassSymbol
 
Constructor Summary
GenericHomeGenerator(java.lang.ClassLoader cl)
           
 
Method Summary
 java.lang.String className()
           
 void evaluate()
           
 java.lang.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

GenericHomeGenerator

public GenericHomeGenerator(java.lang.ClassLoader cl)
                     throws GeneratorException
Throws:
GeneratorException
Method Detail

getGeneratedClass

public java.lang.String getGeneratedClass()
Get the fully qualified name of the generated class.

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

className

public java.lang.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.