org.ow2.jonas.web.tomcat6.ws.strategy
Class EjbJarContextNamingStrategy
java.lang.Object
org.ow2.jonas.web.tomcat6.ws.strategy.EjbJarContextNamingStrategy
- All Implemented Interfaces:
- IContextNamingStrategy
public class EjbJarContextNamingStrategy
- extends Object
- implements IContextNamingStrategy
The EjbJarContextNamingStrategy computes a web context name based on the EjbJar filename.
- Author:
- Guillaume Sauthier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EjbJarContextNamingStrategy
public EjbJarContextNamingStrategy()
getContextName
public String getContextName(IContextNamingInfo info)
throws ContextNamingStrategyException
- Creates a context name (web server root / context root).
- Specified by:
getContextName
in interface IContextNamingStrategy
- Parameters:
info
- used to determine the context name.
- Returns:
- a context name
- Throws:
ContextNamingStrategyException
Copyright © 2010 OW2 Consortium. All Rights Reserved.