|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.adapter.jmx.pool.outbound.JMXConnectionFactoryImpl
public class JMXConnectionFactoryImpl
Connection Factory. this is the object returned when getting the reference close to the JNDI server name
| Constructor Summary | |
|---|---|
JMXConnectionFactoryImpl(ManagedConnectionFactoryImpl mcf,
javax.resource.spi.ConnectionManager cm)
Create an instance of the factory. |
|
| Method Summary | |
|---|---|
javax.resource.cci.Connection |
getConnection()
Gets a new connection using the connection manager. |
javax.resource.cci.Connection |
getConnection(javax.resource.cci.ConnectionSpec spec)
Gets a new connection using the connection manager. |
javax.resource.cci.ResourceAdapterMetaData |
getMetaData()
Not implemented. |
javax.resource.cci.RecordFactory |
getRecordFactory()
Not implemented. |
javax.naming.Reference |
getReference()
Get the reference. |
void |
setReference(javax.naming.Reference ref)
Set the reference of the factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JMXConnectionFactoryImpl(ManagedConnectionFactoryImpl mcf,
javax.resource.spi.ConnectionManager cm)
mcf - the manager of the factory.cm - the connection manager for the factory.| Method Detail |
|---|
public void setReference(javax.naming.Reference ref)
ref - reference to set.
public javax.naming.Reference getReference()
throws javax.naming.NamingException
getReference in interface javax.naming.Referenceablejavax.naming.NamingException - if the return value is null.
public javax.resource.cci.Connection getConnection()
throws javax.resource.ResourceException
getConnection in interface javax.resource.cci.ConnectionFactoryjavax.resource.ResourceException - generic exception if operation fails due to an
error condition.
public javax.resource.cci.Connection getConnection(javax.resource.cci.ConnectionSpec spec)
throws javax.resource.ResourceException
getConnection in interface javax.resource.cci.ConnectionFactorygetConnection in interface org.ow2.jasmine.adapter.jmx.pool.api.IJMXConnectionFactoryspec - the specifications of the connection to get.
javax.resource.ResourceException - generic exception if operation fails due to an
error condition.
public javax.resource.cci.ResourceAdapterMetaData getMetaData()
throws javax.resource.ResourceException
getMetaData in interface javax.resource.cci.ConnectionFactoryjavax.resource.ResourceException - generic exception if operation fails due to an
error condition.
public javax.resource.cci.RecordFactory getRecordFactory()
throws javax.resource.ResourceException
getRecordFactory in interface javax.resource.cci.ConnectionFactoryjavax.resource.ResourceException - generic exception if operation fails due to an
error condition.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||