org.mobicents.slee.resource.parlay
Class ParlayProviderImpl

java.lang.Object
  extended by org.mobicents.slee.resource.parlay.ParlayProviderImpl
All Implemented Interfaces:
ParlayProvider, org.mobicents.slee.resource.parlay.ParlayResourceAdapterSbbInterface

public class ParlayProviderImpl
extends java.lang.Object
implements ParlayProvider

This class is responsible for initialising all resources for the Parlay connection. It also proxies connection allocation requests to the RA connection pooling internals.


Constructor Summary
ParlayProviderImpl(javax.slee.resource.BootstrapContext bootstrapContext, ParlayResourceAdaptorProperties adaptorProperties, ActivityManager activityManager)
           
 
Method Summary
 org.mobicents.csapi.jr.slee.ParlayConnection getParlayConnection()
           
 void setConnectionFactory(javax.resource.cci.ConnectionFactory connectionFactory)
           
 void setResourceAdapterImpl(ResourceAdapter resourceAdapterImpl)
           
 void start()
          Starts the provider.
protected  void startResourceAdapter()
           
 void stop()
          Stops the provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParlayProviderImpl

public ParlayProviderImpl(javax.slee.resource.BootstrapContext bootstrapContext,
                          ParlayResourceAdaptorProperties adaptorProperties,
                          ActivityManager activityManager)
Method Detail

start

public void start()
           throws javax.slee.resource.ResourceException
Description copied from interface: ParlayProvider
Starts the provider.

Specified by:
start in interface ParlayProvider
Throws:
javax.slee.resource.ResourceException

startResourceAdapter

protected void startResourceAdapter()
                             throws javax.slee.resource.ResourceException
Throws:
javax.slee.resource.ResourceException

getParlayConnection

public org.mobicents.csapi.jr.slee.ParlayConnection getParlayConnection()
                                                                 throws javax.slee.resource.ResourceException
Specified by:
getParlayConnection in interface org.mobicents.slee.resource.parlay.ParlayResourceAdapterSbbInterface
Throws:
javax.slee.resource.ResourceException

stop

public void stop()
          throws javax.slee.resource.ResourceException
Description copied from interface: ParlayProvider
Stops the provider.

Specified by:
stop in interface ParlayProvider
Throws:
javax.slee.resource.ResourceException

setResourceAdapterImpl

public void setResourceAdapterImpl(ResourceAdapter resourceAdapterImpl)
Parameters:
resourceAdapterImpl - The resourceAdapterImpl to set.

setConnectionFactory

public void setConnectionFactory(javax.resource.cci.ConnectionFactory connectionFactory)
Parameters:
connectionFactory - The connectionFactory to set.


Copyright © 2008. All Rights Reserved.