public class ServerInfo
extends java.lang.Object
implements java.io.Serializable
TODO: This is badly named. Should be ServerComponentInfo.
| Constructor and Description |
|---|
ServerInfo(Address address,
Implementation<?>[] resolvers)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Address |
getAddress()
Get the address of this component.
|
java.lang.String |
getId()
Get the id of the component.
|
Implementation<?>[] |
getImplementations()
Get the factories that should be used to create handlers
to talk to the server.
|
public ServerInfo(Address address, Implementation<?>[] resolvers)
address - The address, can be null?resolvers - Array of supported interfaces. Must not be null.public java.lang.String getId()
public Implementation<?>[] getImplementations()
public Address getAddress()