protected static final class Mapper.MappedHost extends Mapper.MapElement<Host>
Modifier and Type | Field and Description |
---|---|
Mapper.ContextList |
contextList |
name, object
Constructor and Description |
---|
MappedHost(String name,
Host host)
Constructor used for the primary Host
|
MappedHost(String alias,
Mapper.MappedHost realHost)
Constructor used for an Alias
|
Modifier and Type | Method and Description |
---|---|
void |
addAlias(Mapper.MappedHost alias) |
void |
addAliases(Collection<? extends Mapper.MappedHost> c) |
Collection<Mapper.MappedHost> |
getAliases() |
Mapper.MappedHost |
getRealHost() |
String |
getRealHostName() |
boolean |
isAlias() |
void |
removeAlias(Mapper.MappedHost alias) |
public volatile Mapper.ContextList contextList
public MappedHost(String name, Host host)
name
- The name of the virtual hosthost
- The hostpublic MappedHost(String alias, Mapper.MappedHost realHost)
alias
- The alias of the virtual hostrealHost
- The host the alias points topublic boolean isAlias()
public Mapper.MappedHost getRealHost()
public String getRealHostName()
public Collection<Mapper.MappedHost> getAliases()
public void addAlias(Mapper.MappedHost alias)
public void addAliases(Collection<? extends Mapper.MappedHost> c)
public void removeAlias(Mapper.MappedHost alias)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.