org.jboss.deployers.vfs.plugins.classloader
Class DeploymentHostNameCreator
java.lang.Object
org.jboss.deployers.vfs.plugins.classloader.DeploymentHostNameCreator
- All Implemented Interfaces:
- HostNameCreator
public class DeploymentHostNameCreator
- extends Object
- implements HostNameCreator
Join all deployment names.
- Author:
- Ales Justin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeploymentHostNameCreator
public DeploymentHostNameCreator()
createHostName
public String createHostName(VFSDeploymentUnit unit)
- Description copied from interface:
HostNameCreator
- Create host name.
It should not contain any '/' due to VFS Memory context limitations.
See JBDEPLOY-75.
- Specified by:
createHostName
in interface HostNameCreator
- Parameters:
unit
- the vfs deployment unit
- Returns:
- host name
setPrefix
public void setPrefix(String prefix)
- Set prefix.
- Parameters:
prefix
- the prefix
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.