Modifier and Type | Method and Description |
---|---|
boolean |
getAllowOthers()
Check if remote connections are allowed.
|
String |
getName()
Get the human readable name of the service.
|
int |
getPort()
Gets the port this service is listening on.
|
String |
getType()
Get the human readable short name of the service.
|
String |
getURL()
Get the URL of this service in a human readable form
|
void |
init(String... args)
Initialize the service from command line options.
|
boolean |
isDaemon()
Check if a daemon thread should be used.
|
boolean |
isRunning(boolean traceError)
Check if the service is running.
|
void |
listen()
Listen for incoming connections.
|
void |
start()
Start the service.
|
void |
stop()
Stop the service.
|
void init(String... args) throws Exception
args
- the command line optionsException
String getURL()
void start() throws SQLException
SQLException
void listen()
void stop()
boolean isRunning(boolean traceError)
traceError
- if errors should be writtenboolean getAllowOthers()
String getName()
String getType()
int getPort()
boolean isDaemon()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.