protected static final class Mapper.Host extends Mapper.MapElement
Modifier and Type | Field and Description |
---|---|
Mapper.ContextList |
contextList |
name, object
Constructor and Description |
---|
Mapper.Host(java.lang.String alias,
Mapper.Host realHost)
Creates an object for an Alias
|
Mapper.Host(java.lang.String name,
java.lang.Object host)
Creates an object for primary Host
|
Modifier and Type | Method and Description |
---|---|
void |
addAlias(Mapper.Host alias) |
void |
addAliases(java.util.Collection<? extends Mapper.Host> c) |
java.util.Collection<Mapper.Host> |
getAliases() |
Mapper.Host |
getRealHost() |
java.lang.String |
getRealHostName() |
boolean |
isAlias() |
void |
removeAlias(Mapper.Host alias) |
public volatile Mapper.ContextList contextList
public Mapper.Host(java.lang.String name, java.lang.Object host)
public Mapper.Host(java.lang.String alias, Mapper.Host realHost)
public boolean isAlias()
public Mapper.Host getRealHost()
public java.lang.String getRealHostName()
public java.util.Collection<Mapper.Host> getAliases()
public void addAlias(Mapper.Host alias)
public void addAliases(java.util.Collection<? extends Mapper.Host> c)
public void removeAlias(Mapper.Host alias)
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.