org.mobicents.slee.resource.parlay.jca
Class ResourceAdapterImpl

java.lang.Object
  extended by org.mobicents.slee.resource.parlay.jca.ResourceAdapterImpl
All Implemented Interfaces:
javax.resource.spi.ResourceAdapter

public class ResourceAdapterImpl
extends java.lang.Object
implements ResourceAdapter

Boootstrap class. Will initialise all resources for binding to gateway including authenticating when started.


Field Summary
protected  javax.resource.spi.BootstrapContext bootstrapContext
           
 
Constructor Summary
ResourceAdapterImpl()
           
 
Method Summary
 void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory arg0, javax.resource.spi.ActivationSpec arg1)
           
 void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory arg0, javax.resource.spi.ActivationSpec arg1)
           
 boolean equals(java.lang.Object o)
           
 ActivityManager getActivityManager()
           
 java.lang.String getAuthenticationSequence()
           
 java.lang.String getDomainID()
           
 GccsListener getGccsListener()
           
 java.lang.String getIpInitialIOR()
           
 java.lang.String getIpInitialLocation()
           
 java.lang.String getIpInitialURL()
           
 MpccsListener getMpccsListener()
           
 java.lang.String getNamingServiceIOR()
           
 ParlaySession getParlaySession()
           
 java.lang.String getParlayVersion()
           
 java.lang.String getSharedSecret()
           
 javax.transaction.xa.XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] arg0)
           
 int hashCode()
           
 void setActivityManager(ActivityManager activityManager)
           
 void setAuthenticationSequence(java.lang.String authenticationSequence)
           
 void setDomainID(java.lang.String domainID)
           
 void setGccsListener(GccsListener gccsListener)
           
 void setIpInitialIOR(java.lang.String ipInitialIOR)
           
 void setIpInitialLocation(java.lang.String ipInitialLocation)
           
 void setIpInitialURL(java.lang.String ipInitialURL)
           
 void setMpccsListener(MpccsListener mpccsListener)
           
 void setNamingServiceIOR(java.lang.String namingServiceIOR)
           
 void setParlaySession(ParlaySession parlaySession)
           
 void setParlayVersion(java.lang.String parlayVersion)
           
 void setSharedSecret(java.lang.String sharedSecret)
           
 void setUiListener(UiListener uiListener)
           
 void start(javax.resource.spi.BootstrapContext arg0)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bootstrapContext

protected transient javax.resource.spi.BootstrapContext bootstrapContext
Constructor Detail

ResourceAdapterImpl

public ResourceAdapterImpl()
Method Detail

start

public void start(javax.resource.spi.BootstrapContext arg0)
           throws javax.resource.spi.ResourceAdapterInternalException
Specified by:
start in interface javax.resource.spi.ResourceAdapter
Throws:
javax.resource.spi.ResourceAdapterInternalException

stop

public void stop()
Specified by:
stop in interface javax.resource.spi.ResourceAdapter

endpointActivation

public void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory arg0,
                               javax.resource.spi.ActivationSpec arg1)
                        throws javax.resource.ResourceException
Specified by:
endpointActivation in interface javax.resource.spi.ResourceAdapter
Throws:
javax.resource.ResourceException

endpointDeactivation

public void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory arg0,
                                 javax.resource.spi.ActivationSpec arg1)
Specified by:
endpointDeactivation in interface javax.resource.spi.ResourceAdapter

getXAResources

public javax.transaction.xa.XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] arg0)
                                                 throws javax.resource.ResourceException
Specified by:
getXAResources in interface javax.resource.spi.ResourceAdapter
Throws:
javax.resource.ResourceException

getParlaySession

public ParlaySession getParlaySession()
Returns:
Returns the parlaySession.

getAuthenticationSequence

public java.lang.String getAuthenticationSequence()
Returns:
Returns the authenticationSequence.

setAuthenticationSequence

public void setAuthenticationSequence(java.lang.String authenticationSequence)
Parameters:
authenticationSequence - The authenticationSequence to set.

getDomainID

public java.lang.String getDomainID()
Returns:
Returns the domainID.

setDomainID

public void setDomainID(java.lang.String domainID)
Parameters:
domainID - The domainID to set.

getIpInitialIOR

public java.lang.String getIpInitialIOR()
Returns:
Returns the ipInitialIOR.

setIpInitialIOR

public void setIpInitialIOR(java.lang.String ipInitialIOR)
Parameters:
ipInitialIOR - The ipInitialIOR to set.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

setParlaySession

public void setParlaySession(ParlaySession parlaySession)
Parameters:
parlaySession - The parlaySession to set.

getMpccsListener

public MpccsListener getMpccsListener()
Returns:
Returns the mpccsListener.

getGccsListener

public GccsListener getGccsListener()
Returns:
Returns the gccsListener.

setMpccsListener

public void setMpccsListener(MpccsListener mpccsListener)
Parameters:
mpccsListener - The mpccsListener to set.

getActivityManager

public ActivityManager getActivityManager()
Returns:
Returns the activityManager.

setActivityManager

public void setActivityManager(ActivityManager activityManager)
Parameters:
activityManager - The activityManager to set.

getIpInitialLocation

public java.lang.String getIpInitialLocation()
Returns:
Returns the ipInitialLocation.

setIpInitialLocation

public void setIpInitialLocation(java.lang.String ipInitialLocation)
Parameters:
ipInitialLocation - The ipInitialLocation to set.

getIpInitialURL

public java.lang.String getIpInitialURL()
Returns:
Returns the ipInitialURL.

setIpInitialURL

public void setIpInitialURL(java.lang.String ipInitialURL)
Parameters:
ipInitialURL - The ipInitialURL to set.

getNamingServiceIOR

public java.lang.String getNamingServiceIOR()
Returns:
Returns the namingServiceIOR.

setNamingServiceIOR

public void setNamingServiceIOR(java.lang.String namingServiceIOR)
Parameters:
namingServiceIOR - The namingServiceIOR to set.

setGccsListener

public void setGccsListener(GccsListener gccsListener)
Parameters:
gccsListener - GCC Listener.

setUiListener

public void setUiListener(UiListener uiListener)
Parameters:
uiListener - User Interaction Listener

setParlayVersion

public void setParlayVersion(java.lang.String parlayVersion)

getParlayVersion

public java.lang.String getParlayVersion()
Returns:
parlayVersion

setSharedSecret

public void setSharedSecret(java.lang.String sharedSecret)

getSharedSecret

public java.lang.String getSharedSecret()
Returns:
sharedSecret


Copyright © 2009. All Rights Reserved.