|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.exolab.jms.config.Connector
This specifies the type of communication to use, between clients and the server. When a TCP connector is configured, the TcpConfiguration element is relevant. When an RMI connector is configured, the RmiConfiguration element is relevant. When an HTTP connector is configured, the HttpConfiguration element is relevant. Note that when an HTTP connector is configured, a TCP connector is implicitly configured, and the connection factories are shared between them.
Constructor Summary | |
Connector()
|
Method Summary | |
ConnectionFactories |
getConnectionFactories()
Returns the value of field 'connectionFactories'. |
SchemeType |
getScheme()
Returns the value of field 'scheme'. |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
void |
setConnectionFactories(ConnectionFactories connectionFactories)
Sets the value of field 'connectionFactories'. |
void |
setScheme(SchemeType scheme)
Sets the value of field 'scheme'. |
static Connector |
unmarshal(java.io.Reader reader)
Method unmarshal |
void |
validate()
Method validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Connector()
Method Detail |
public ConnectionFactories getConnectionFactories()
public SchemeType getScheme()
public boolean isValid()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- public void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- public void setConnectionFactories(ConnectionFactories connectionFactories)
connectionFactories
- the value of field
'connectionFactories'.public void setScheme(SchemeType scheme)
scheme
- the value of field 'scheme'.public static Connector unmarshal(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- public void validate() throws org.exolab.castor.xml.ValidationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |