org.objectweb.jonas_ws.wsgen.generator.axis
Class VContextFactory
java.lang.Object
org.objectweb.jonas_ws.wsgen.generator.axis.VContextFactory
- public class VContextFactory
- extends java.lang.Object
This class allows to create the Velocity Context used to build the generated
sources with the Velocity templates.
- Author:
- Xavier Delplanque (Bull)
Method Summary |
static org.apache.velocity.VelocityContext |
getContext(ServiceDesc sd)
Creates the Velocity Context used to build the generated files with the
Velocity templates. |
static org.apache.velocity.VelocityContext |
getContext(ServiceRefDesc sr)
Creates the Velocity Context used to build the generated files with the
Velocity templates. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROVIDER
public static final java.lang.String PROVIDER
- See Also:
- Constant Field Values
EJB_PROVIDER
public static final java.lang.String EJB_PROVIDER
- See Also:
- Constant Field Values
RPC_PROVIDER
public static final java.lang.String RPC_PROVIDER
- See Also:
- Constant Field Values
MAPPINGS
public static final java.lang.String MAPPINGS
- See Also:
- Constant Field Values
PORT_COMPONENTS
public static final java.lang.String PORT_COMPONENTS
- See Also:
- Constant Field Values
VContextFactory
public VContextFactory()
getContext
public static org.apache.velocity.VelocityContext getContext(ServiceDesc sd)
- Creates the Velocity Context used to build the generated files with the
Velocity templates.
- Parameters:
sd
- The ServiceDesc Deployment Descriptor
- Returns:
- a VelocityContext customized with the SD
getContext
public static org.apache.velocity.VelocityContext getContext(ServiceRefDesc sr)
- Creates the Velocity Context used to build the generated files with the
Velocity templates.
- Parameters:
sr
- The ServiceRefDesc Deployment Descriptor
- Returns:
- a VelocityContext customized with the SR