| java.lang.Object org.jboss.mq.GenericConnectionFactory
GenericConnectionFactory | public class GenericConnectionFactory implements Serializable(Code) | | The RMI implementation of the DistributedConnectionFactory object
author: Hiram Chirino (Cojonudo14@hotmail.com) author: Adrian Brock version: $Revision: 57198 $ |
Field Summary | |
static Logger | log |
Constructor Summary | |
public | 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. |
log | static Logger log(Code) | | The log
|
GenericConnectionFactory | public GenericConnectionFactory(ServerIL server, Properties props)(Code) | | 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. The ServerIL paramter is usefull for IL
such as RMI or the JVM IL since trying to explicity create a connection
to them is not strait forward.
Parameters: server - the serverIL Parameters: props - the connection properties |
createClientILService | public ClientILService createClientILService(Connection connection) throws Exception(Code) | | Creates a new instance of the ClientILService
Parameters: connection - the connection the client il exception: Exception - for any error |
createServerIL | public ServerIL createServerIL() throws JMSException(Code) | | Creates a new instance of the ServerIL
the server il exception: JMSException - for any error |
initialise | public void initialise(Connection connection) throws JMSException(Code) | | Initialise the connection
Parameters: connection - the connection to initialise |
|
|