org.jboss.portal.core.controller.command.mapper
Class DelegatingURLFactoryService
java.lang.Object
ServiceMBeanSupport
org.jboss.portal.jems.as.system.AbstractJBossService
org.jboss.portal.core.controller.command.mapper.AbstractURLFactory
org.jboss.portal.core.controller.command.mapper.DelegatingURLFactoryService
- All Implemented Interfaces:
- DelegatingURLFactory, URLFactory
public class DelegatingURLFactoryService
- extends AbstractURLFactory
- implements DelegatingURLFactory
- Version:
- $Revision: 7035 $
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegatingURLFactoryService
public DelegatingURLFactoryService()
getNextFactory
public URLFactory getNextFactory()
setNextFactory
public void setNextFactory(URLFactory nextFactory)
doMapping
public ServerURL doMapping(ControllerContext controllerContext,
ServerInvocation invocation,
ControllerCommand cmd)
- Description copied from interface:
URLFactory
- Create an url for the command.
- Specified by:
doMapping
in interface URLFactory
invocation
- the invocationcmd
- the command to encode @return the server url or null if this mapper cannot peform this operation
register
public void register(URLFactoryDelegate factory)
- Specified by:
register
in interface DelegatingURLFactory
unregister
public void unregister(URLFactoryDelegate factory)
- Specified by:
unregister
in interface DelegatingURLFactory