|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.server.mapservice.WebMapService
A class to implement the WebMapService 1.1.1 specification.
Field Summary | |
static java.lang.String |
DEFAULT_SERVICE_TAG
|
static java.lang.String |
EXTENDER_CLASS_TAG
|
static java.lang.String |
EXTENDER_NODE
|
static java.lang.String |
HOST_NAME_TAG
|
java.lang.String |
myInitFileName
Location of the initialization file. |
static java.lang.String |
PORT_NUMBER
|
static java.lang.String |
WEB_MAP_SERVICE_NODE
|
Constructor Summary | |
WebMapService()
Creates new WebMapService1_1_1 |
Method Summary | |
void |
addExtensionService(ExtensionService inExtensionService)
Add an extension service. |
void |
addResponseThread(ResponseThread inThread)
Add a thread to the response thread vector. |
java.lang.String |
getDefaultServiceName()
Get the name of the default service. |
protected ExtensionService |
getExtensionService(java.lang.String inServiceName)
Get the extension service with the given name |
java.lang.String |
getHostName()
Get the host name. |
java.lang.String |
getName()
Get the name of the service. |
int |
getPort()
Get the port on which this web maps service is listening. |
protected Server |
getServer()
The response thread needs to get to the server in order to generate the image. |
boolean |
hasService(java.lang.String inName)
checks if this web server has the given service as one of it's available services. |
void |
init(java.lang.String inInitFile)
Initialize the service. |
void |
listen()
|
void |
log(java.lang.String inString)
Log the string to the log file. |
void |
log(java.lang.Throwable inT)
Log entries to the log files. |
static void |
main(java.lang.String[] inArgs)
Main entry point for the 1_1_1 web map service. |
void |
removeExtensionService(ExtensionService inExtensionService)
Remove an extension service. |
void |
removeResponseThread(ResponseThread inThread)
Remove a thread from the response thread vector. |
void |
save(java.lang.String inInitFile)
Initialize the service. |
void |
saveConfig()
Save the configuration. |
void |
setDefaultServiceName(java.lang.String inServiceName)
Set the name of the default service. |
void |
setHostName(java.lang.String inHostName)
Set the HostName. |
void |
setLogFile(java.io.File inLogFile)
Set the location of the log file. |
void |
setName(java.lang.String inName)
Set the name of the service. |
void |
setPort(int inPort)
Set the port on which this web map service should listen. |
static void |
showUsage()
Show the user how to use this class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String myInitFileName
public static final java.lang.String WEB_MAP_SERVICE_NODE
public static final java.lang.String EXTENDER_NODE
public static final java.lang.String EXTENDER_CLASS_TAG
public static final java.lang.String HOST_NAME_TAG
public static final java.lang.String PORT_NUMBER
public static final java.lang.String DEFAULT_SERVICE_TAG
Constructor Detail |
public WebMapService()
Method Detail |
public void setPort(int inPort)
setPort
in interface ServerHolder
public int getPort()
getPort
in interface ServerHolder
public void setName(java.lang.String inName)
public java.lang.String getName()
public void setDefaultServiceName(java.lang.String inServiceName)
public java.lang.String getDefaultServiceName()
protected Server getServer()
public void addExtensionService(ExtensionService inExtensionService)
public void removeExtensionService(ExtensionService inExtensionService)
protected ExtensionService getExtensionService(java.lang.String inServiceName)
public void addResponseThread(ResponseThread inThread)
public void removeResponseThread(ResponseThread inThread)
public void init(java.lang.String inInitFile) throws java.lang.Exception
java.lang.Exception
public void saveConfig() throws java.lang.Exception
ServerHolder
saveConfig
in interface ServerHolder
java.lang.Exception
public void save(java.lang.String inInitFile) throws java.lang.Exception
java.lang.Exception
public void listen()
public void setLogFile(java.io.File inLogFile)
public void log(java.lang.String inString)
public void log(java.lang.Throwable inT)
public boolean hasService(java.lang.String inName)
public static void main(java.lang.String[] inArgs)
public static void showUsage()
public void setHostName(java.lang.String inHostName)
setHostName
in interface ServerHolder
public java.lang.String getHostName()
getHostName
in interface ServerHolder
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |