Class HttpServer
java.lang.Object
org.aktin.broker.admin.standalone.HttpServer
public class HttpServer extends Object
Run a standalone broker server from the command line.
To update the subject_DN in the database, specify a system
property rewriteNodeDN. In this case, all stored node
subject DN values are rewritten with the values loaded from the
API key properties file.
- Author:
- R.W.Majeed
-
Constructor Summary
Constructors Constructor Description HttpServer(Configuration config) -
Method Summary
Modifier and Type Method Description voiddestroy()URIgetBrokerServiceURI()voidjoin()static voidmain(String[] args)Run a standalone broker server from the command line.voidstart(InetSocketAddress addr)protected voidstart_local(int port)voidstop()
-
Constructor Details
-
HttpServer
- Throws:
SQLExceptionIOException
-
-
Method Details
-
start_local
- Throws:
Exception
-
getBrokerServiceURI
-
start
- Throws:
Exception
-
join
- Throws:
InterruptedException
-
destroy
- Throws:
Exception
-
stop
- Throws:
Exception
-
main
Run a standalone broker server from the command line.- Parameters:
args- command line arguments: port can be specified optionally- Throws:
Exception- any error
-