org.jboss.deployers.vfs.plugins.classloader
Class DeploymentHostNameCreator

java.lang.Object
  extended by 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

Constructor Summary
DeploymentHostNameCreator()
           
 
Method Summary
 String createHostName(VFSDeploymentUnit unit)
          Create host name.
 void setPrefix(String prefix)
          Set prefix.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentHostNameCreator

public DeploymentHostNameCreator()
Method Detail

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.