public class

ZuoraModuleSessionManagerAdapter

extends ZuoraModuleLifecycleAdapter
implements SessionManagerAdapter<K, S> Initialisable
java.lang.Object
   ↳ org.mule.modules.zuora.ZuoraModule
     ↳ org.mule.modules.zuora.config.ZuoraModuleCapabilitiesAdapter
       ↳ org.mule.modules.zuora.config.ZuoraModuleLifecycleAdapter
         ↳ org.mule.modules.zuora.config.ZuoraModuleSessionManagerAdapter

Class Overview

A ZuoraModuleSessionManagerAdapter is a wrapper around ZuoraModule that adds session management to the pojo.

Summary

Nested Classes
class ZuoraModuleSessionManagerAdapter.SessionKey  
[Expand]
Inherited Constants
From interface org.mule.api.lifecycle.Disposable
From interface org.mule.api.lifecycle.Initialisable
From interface org.mule.api.lifecycle.Startable
From interface org.mule.api.lifecycle.Stoppable
Fields
private String password
private GenericKeyedObjectPool sessionPool Session Pool
protected PoolingProfile sessionPoolingProfile
private String username
[Expand]
Inherited Fields
From class org.mule.modules.zuora.ZuoraModule
Public Constructors
ZuoraModuleSessionManagerAdapter()
Public Methods
ZuoraSession borrowSession(ZuoraModuleSessionManagerAdapter.SessionKey key)
void destroySession(ZuoraModuleSessionManagerAdapter.SessionKey key, ZuoraSession session)
String getPassword()
Retrieves password
PoolingProfile getSessionPoolingProfile()
Retrieves sessionPoolingProfile
String getUsername()
Retrieves username
void initialise()
void returnSession(ZuoraModuleSessionManagerAdapter.SessionKey key, ZuoraSession session)
void setPassword(String value)
Sets password
void setSessionPoolingProfile(PoolingProfile value)
Sets sessionPoolingProfile
void setUsername(String value)
Sets username
[Expand]
Inherited Methods
From class org.mule.modules.zuora.config.ZuoraModuleLifecycleAdapter
From class org.mule.modules.zuora.config.ZuoraModuleCapabilitiesAdapter
From class org.mule.modules.zuora.ZuoraModule
From class java.lang.Object
From interface org.mule.api.Capabilities
From interface org.mule.api.adapter.SessionManagerAdapter
From interface org.mule.api.lifecycle.Disposable
From interface org.mule.api.lifecycle.Initialisable
From interface org.mule.api.lifecycle.Startable
From interface org.mule.api.lifecycle.Stoppable

Fields

private String password

private GenericKeyedObjectPool sessionPool

Session Pool

protected PoolingProfile sessionPoolingProfile

private String username

Public Constructors

public ZuoraModuleSessionManagerAdapter ()

Public Methods

public ZuoraSession borrowSession (ZuoraModuleSessionManagerAdapter.SessionKey key)

Parameters
key
Throws
Exception

public void destroySession (ZuoraModuleSessionManagerAdapter.SessionKey key, ZuoraSession session)

Parameters
key
session
Throws
Exception

public String getPassword ()

Retrieves password

public PoolingProfile getSessionPoolingProfile ()

Retrieves sessionPoolingProfile

public String getUsername ()

Retrieves username

public void initialise ()

public void returnSession (ZuoraModuleSessionManagerAdapter.SessionKey key, ZuoraSession session)

Parameters
key
session
Throws
Exception

public void setPassword (String value)

Sets password

Parameters
value Value to set

public void setSessionPoolingProfile (PoolingProfile value)

Sets sessionPoolingProfile

Parameters
value Value to set

public void setUsername (String value)

Sets username

Parameters
value Value to set