|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mq.GenericConnectionFactory
public class GenericConnectionFactory
The RMI implementation of the DistributedConnectionFactory object
Constructor Summary | |
---|---|
GenericConnectionFactory(ServerIL server,
Properties props)
The constructor takes a ServerIL and the Connection Properties parameters, The connection properties are allways required since they are used to setup the ClientIL, but the ServerIL can be null if the connection properties defines a ServerILFactory so that the SeverIL can be created on the client side. |
Method Summary | |
---|---|
ClientILService |
createClientILService(Connection connection)
Creates a new instance of the ClientILService |
ServerIL |
createServerIL()
Creates a new instance of the ServerIL |
Properties |
getProperties()
For testing |
void |
initialise(Connection connection)
Initialise the connection |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GenericConnectionFactory(ServerIL server, Properties props)
server
- the serverILprops
- the connection propertiesMethod Detail |
---|
public Properties getProperties()
public void initialise(Connection connection) throws javax.jms.JMSException
connection
- the connection to initialise
javax.jms.JMSException
public ClientILService createClientILService(Connection connection) throws Exception
connection
- the connection
Exception
- for any errorpublic ServerIL createServerIL() throws javax.jms.JMSException
javax.jms.JMSException
- for any errorpublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |