|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.blacktie.jatmibroker.xatmi.server.BlackTieServer
public class BlackTieServer
Create a server instance reading the configuration for the server defined by the name.
| Constructor Summary | |
|---|---|
BlackTieServer(String serverName)
Initialize the server |
|
| Method Summary | |
|---|---|
void |
shutdown()
Shutdown the server |
void |
tpadvertise(String serviceName,
String serviceClassName)
Advertise a blacktie service with the specified name |
void |
tpunadvertise(String serviceName)
Unadvertise the service by name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlackTieServer(String serverName)
throws org.jboss.blacktie.jatmibroker.core.conf.ConfigurationException,
ConnectionException
serverName - The name of the server
org.jboss.blacktie.jatmibroker.core.conf.ConfigurationException - If the server does not exist
ConnectionException - If the server cannot connect to the infrastructure configured| Method Detail |
|---|
public void tpadvertise(String serviceName,
String serviceClassName)
throws ConnectionException
serviceName - The name of the service
ConnectionException - If the service cannot be advertised
public void tpunadvertise(String serviceName)
throws ConnectionException
serviceName - The name of the service to unadverise.
ConnectionException - If the service cannot be unadvertised.
public void shutdown()
throws ConnectionException
ConnectionException - If one of the services cannot disconnect
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||