Package com.sun.ejb.codegen
Class ServiceInterfaceGenerator
- java.lang.Object
-
- com.sun.ejb.codegen.Generator
-
- com.sun.ejb.codegen.ServiceInterfaceGenerator
-
- All Implemented Interfaces:
ClassGeneratorFactory
public class ServiceInterfaceGenerator extends Generator implements ClassGeneratorFactory
This class is responsible for generating the SEI when it is not packaged by the application.- Author:
- Jerome Dochez
-
-
Field Summary
-
Fields inherited from class com.sun.ejb.codegen.Generator
ejbClassSymbol
-
-
Constructor Summary
Constructors Constructor Description ServiceInterfaceGenerator(ClassLoader cl, Class sib)Construct the Wrapper generator with the specified deployment descriptor and class loader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()voidevaluate()StringgetGeneratedClass()Get the fully qualified name of the generated class.StringgetPackageName()StringgetServiceIntfName()-
Methods inherited from class com.sun.ejb.codegen.Generator
getBaseName, getPackageName, getSecurityAttribute, getTxAttribute, getUniqueClassName, isEJBIntfMethod, printType, removeDups
-
-
-
-
Constructor Detail
-
ServiceInterfaceGenerator
public ServiceInterfaceGenerator(ClassLoader cl, Class sib) throws GeneratorException, ClassNotFoundException
Construct the Wrapper generator with the specified deployment descriptor and class loader.
-
-
Method Detail
-
getServiceIntfName
public String getServiceIntfName()
-
getPackageName
public String getPackageName()
-
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:
getGeneratedClassin classGenerator- Returns:
- the name of the generated class.
-
className
public String className()
- Specified by:
classNamein interfaceClassGeneratorFactory
-
evaluate
public void evaluate()
- Specified by:
evaluatein interfaceClassGeneratorFactory
-
-