com.sun.ejb.codegen
Class SerializableBeanGenerator

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

public class SerializableBeanGenerator
extends Generator
implements ClassGeneratorFactory

This class is used to generate a Serializable sub-class of a 3.0 stateful session bean.


Field Summary
 
Fields inherited from class com.sun.ejb.codegen.Generator
_logger, ejbClassSymbol
 
Constructor Summary
SerializableBeanGenerator(ClassLoader cl, String beanClassName)
           
 
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

SerializableBeanGenerator

public SerializableBeanGenerator(ClassLoader cl,
                                 String beanClassName)
                          throws GeneratorException
Throws:
GeneratorException
Method Detail

getGeneratedClass

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