|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.jms.server.http.HttpJmsServer
public class HttpJmsServer
This class enables clients to connect to the JMS server via a HTTP server. It must be used in conjunction with the TCP connector.
Constructor Summary | |
---|---|
HttpJmsServer()
Construct a new HttpJmsServer |
Method Summary | |
---|---|
void |
bindConnectionFactories(javax.naming.Context context)
Bind any factory object specified in the configuration file to the specified JNDI context. |
protected HttpConfigurationType |
getHttpConfiguration()
Returns the HTTP configuration |
protected java.lang.String |
getHttpServerProperty()
Returns the HTTP server URL property name, used in the construction of connection factories |
protected java.lang.String |
getHttpServerURL()
Returns the HTTP server URL, used in the construction of connection factories |
protected SchemeType |
getScheme()
Returns the connector scheme for this server. |
void |
init()
Initialise the server |
protected java.lang.String |
normalizeHost(java.lang.String host)
This method will normalize the host name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpJmsServer()
HttpJmsServer
Method Detail |
---|
public void init() throws ServerException
init
in interface JmsServerIfc
ServerException
- if the interface cannot be initialisedpublic void bindConnectionFactories(javax.naming.Context context) throws javax.naming.NamingException, ServerException
JmsServerIfc
bindConnectionFactories
in interface JmsServerIfc
context
- context to bind factory objects
javax.naming.NamingException
- if a naming error occurs
ServerException
- if a server error occursprotected SchemeType getScheme()
protected HttpConfigurationType getHttpConfiguration()
protected java.lang.String getHttpServerProperty()
protected java.lang.String getHttpServerURL()
protected java.lang.String normalizeHost(java.lang.String host)
host
- - the raw host name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |