|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.exolab.jms.server.http.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 org.exolab.jms.config.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 org.exolab.jms.config.types.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
org.exolab.jms.server.JmsServerIfc
ServerException
- if the interface cannot be initialisedpublic void bindConnectionFactories(javax.naming.Context context) throws javax.naming.NamingException, ServerException
JmsServerIfc
bindConnectionFactories
in interface JmsServerIfc
org.exolab.jms.server.JmsServerIfc
context
- context to bind factory objectsjavax.naming.NamingException
- if a naming error occursServerException
- if a server error occursprotected org.exolab.jms.config.types.SchemeType getScheme()
protected org.exolab.jms.config.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: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |