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
This class is responsible for generating the SEI when it is not packaged by the application.- Author:
- Jerome Dochez
-
-
Constructor Summary
Constructors Constructor Description ServiceInterfaceGenerator(Class<?> ejbClass)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 voidevaluate()CallsWrappermethods to configure the class definition.Class<?>getAnchorClass()StringgetGeneratedClassName()Get the fully qualified name of the generated class.-
Methods inherited from class com.sun.ejb.codegen.Generator
getBaseName, getPackageName, removeRedundantMethods
-
-
-
-
Constructor Detail
-
ServiceInterfaceGenerator
public ServiceInterfaceGenerator(Class<?> ejbClass)
Construct the Wrapper generator with the specified deployment descriptor and class loader.
-
-
Method Detail
-
getGeneratedClassName
public String getGeneratedClassName()
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.
- Returns:
- the name of the generated class.
-
getAnchorClass
public Class<?> getAnchorClass()
- Returns:
- loadable class of the same package as
ClassGeneratorFactory.getGeneratedClassName()
-
evaluate
public void evaluate()
Description copied from interface:ClassGeneratorFactoryCallsWrappermethods to configure the class definition.
-
-