org.mobicents.slee.resource.parlay.csapi.jr
Class ParlayConnectionImpl

java.lang.Object
  extended by org.mobicents.slee.resource.parlay.csapi.jr.ParlayConnectionImpl
All Implemented Interfaces:
javax.resource.cci.Connection, org.mobicents.csapi.jr.slee.ParlayConnection, ParlayConnectionProxyAssociation

public class ParlayConnectionImpl
extends java.lang.Object
implements org.mobicents.csapi.jr.slee.ParlayConnection, ParlayConnectionProxyAssociation

Implementation of a client connection handle. Transient and lightweight. Delegates all functionality to a pooled proxy.


Constructor Summary
ParlayConnectionImpl()
           
 
Method Summary
 void close()
           
 javax.resource.cci.Interaction createInteraction()
           
 org.mobicents.csapi.jr.slee.IpServiceConnection getIpServiceConnection(org.mobicents.csapi.jr.slee.TpServiceIdentifier serviceIdentifier)
           
 javax.resource.cci.LocalTransaction getLocalTransaction()
           
 javax.resource.cci.ConnectionMetaData getMetaData()
           
 ParlayConnectionProxy getParlayConnectionProxy()
           
 javax.resource.cci.ResultSetInfo getResultSetInfo()
           
 org.mobicents.csapi.jr.slee.TpServiceIdentifier getService(java.lang.String serviceTypeName, java.util.Properties serviceProperties)
           
 void setParlayConnectionProxy(ParlayConnectionProxy connectionProxy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParlayConnectionImpl

public ParlayConnectionImpl()
Method Detail

getService

public org.mobicents.csapi.jr.slee.TpServiceIdentifier getService(java.lang.String serviceTypeName,
                                                                  java.util.Properties serviceProperties)
                                                           throws javax.slee.resource.ResourceException
Specified by:
getService in interface org.mobicents.csapi.jr.slee.ParlayConnection
Throws:
javax.slee.resource.ResourceException

getIpServiceConnection

public org.mobicents.csapi.jr.slee.IpServiceConnection getIpServiceConnection(org.mobicents.csapi.jr.slee.TpServiceIdentifier serviceIdentifier)
                                                                       throws javax.slee.resource.ResourceException
Specified by:
getIpServiceConnection in interface org.mobicents.csapi.jr.slee.ParlayConnection
Throws:
javax.slee.resource.ResourceException

createInteraction

public javax.resource.cci.Interaction createInteraction()
                                                 throws javax.resource.ResourceException
Specified by:
createInteraction in interface javax.resource.cci.Connection
Throws:
javax.resource.ResourceException

getLocalTransaction

public javax.resource.cci.LocalTransaction getLocalTransaction()
                                                        throws javax.resource.ResourceException
Specified by:
getLocalTransaction in interface javax.resource.cci.Connection
Throws:
javax.resource.ResourceException

getMetaData

public javax.resource.cci.ConnectionMetaData getMetaData()
                                                  throws javax.resource.ResourceException
Specified by:
getMetaData in interface javax.resource.cci.Connection
Throws:
javax.resource.ResourceException

getResultSetInfo

public javax.resource.cci.ResultSetInfo getResultSetInfo()
                                                  throws javax.resource.ResourceException
Specified by:
getResultSetInfo in interface javax.resource.cci.Connection
Throws:
javax.resource.ResourceException

close

public void close()
           throws javax.resource.ResourceException
Specified by:
close in interface javax.resource.cci.Connection
Throws:
javax.resource.ResourceException

setParlayConnectionProxy

public void setParlayConnectionProxy(ParlayConnectionProxy connectionProxy)
Specified by:
setParlayConnectionProxy in interface ParlayConnectionProxyAssociation

getParlayConnectionProxy

public ParlayConnectionProxy getParlayConnectionProxy()
Specified by:
getParlayConnectionProxy in interface ParlayConnectionProxyAssociation
Returns:


Copyright © 2008. All Rights Reserved.