public class Server
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field
|
static java.lang.String | DAO_ID
DAO unique identifier (value "com.ibm.commerce.telesales.dao.server.configuration"); used for cache key or preference store name.
|
Constructor and Description |
---|
Server()
Constructor for Server.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object | clone()
Creates and returns an identical copy of this object.
|
java.lang.String | dump()
Dump the contents.
|
java.lang.String | getPort()
Returns the port number.
|
java.lang.String | getServerName()
Returns the server name.
|
boolean | getSSLEnabled()
Returns whether Secured Socket Layer (SSL) is being used.
|
void | setPort(java.lang.String port)
Sets the port number.
|
void | setServerName(java.lang.String name)
Sets the server name.
|
void | setSSLEnabled(boolean enabled)
Sets whether Secured Socket Layer (SSL) is enabled.
|
protected void | shareContents(Server context)
Sets the contents of these service attributes to be the (identical) contents of the given context.
|
java.lang.String | toString()
Returns a string representation of this service.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String DAO_ID
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
This method invokes the clone method of the super class and then share the contents of this class with the cloned object by calling shareContents(this) on the cloned object.
public java.lang.String getPort()
public java.lang.String getServerName()
public boolean getSSLEnabled()
public void setPort(java.lang.String port)
public void setServerName(java.lang.String name)
public void setSSLEnabled(boolean enabled)
protected void shareContents(Server context)
public java.lang.String toString()
public java.lang.String dump()
Only use for debugging.