|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.websphere.xs.ra.XSManagedConnectionFactory
public final class XSManagedConnectionFactory
The XSManagedConnectionFactory create managed connections to the eXtreme Scale ObjectGrids.
Constructor Summary | |
---|---|
XSManagedConnectionFactory()
|
Method Summary | |
---|---|
Object |
createConnectionFactory()
Creates a non-managed XSConnectionFactory instance. |
Object |
createConnectionFactory(ConnectionManager conMgr)
Creates a managed XSConnectionFactory instance. |
ManagedConnection |
createManagedConnection(Subject subject,
ConnectionRequestInfo conReq)
Creates a new physical connection to the underlying ObjectGrid |
void |
destroy()
Destroy this MCF and release any other resources. |
boolean |
equals(Object obj)
|
String |
getCatalogServiceDomain()
Get the eXtreme Scale specific property: CatalogDomain |
String |
getCatalogServiceEndpoints()
Get the eXtreme Scale specific property: CatalogServiceEndpoints |
String |
getClientPropertiesResource()
Get the eXtreme Scale specific property: ClientPropertiesResource |
String |
getClientPropertiesURL()
Get the eXtreme Scale specific property: ClientPropertiesURL |
String |
getConnectionName()
Get the eXtreme Scale specific property: ConnectionName |
PrintWriter |
getLogWriter()
Get the log writer for this XSManagedConnectionFactory instance. |
String |
getObjectGridName()
Get the eXtreme Scale specific property: ObjectGridName |
String |
getObjectGridResource()
Get the eXtreme Scale specific property: ObjectGridResource |
String |
getObjectGridURL()
Get the eXtreme Scale specific property: ObjectGridURL |
ResourceAdapter |
getResourceAdapter()
Retrieve the associated eXtreme Scale resource adapter instance. |
int |
hashCode()
|
boolean |
isLocalGrid()
Get the eXtreme Scale specific property: LocalGrid |
ManagedConnection |
matchManagedConnections(Set connectionSet,
Subject subject,
ConnectionRequestInfo cxRequestInfo)
Returns a matched connection from the candidate set of connections. |
void |
setCatalogServiceDomain(String catalogServiceDomain)
Set the eXtreme Scale specific property: CatalogDomain |
void |
setCatalogServiceEndpoints(String catalogServiceEndpoints)
Set the eXtreme Scale specific property: CatalogServiceEndpoints |
void |
setClientPropertiesResource(String clientPropsResource)
Get the eXtreme Scale specific property: ClientPropertiesResource |
void |
setClientPropertiesURL(String clientPropsURL)
Set the eXtreme Scale specific property: ClientPropertiesURL |
void |
setConnectionName(String connName)
Set the eXtreme Scale specific property: ConnectionName |
void |
setLocalGrid(boolean useLocal)
Set the eXtreme Scale specific property: LocalGrid |
void |
setLogWriter(PrintWriter out)
Set the log writer for this ManagedConnectionFactory instance |
void |
setObjectGridName(String objectGridName)
Set the eXtreme Scale specific property: ObjectGrid Name |
void |
setObjectGridResource(String objectGridResource)
Set the eXtreme Scale specific property: ObjectGridResource |
void |
setObjectGridURL(String objectGridURL)
Set the eXtreme Scale specific property: ObjectGridURL |
void |
setResourceAdapter(ResourceAdapter ra)
Associate this object with an eXtreme Scale resource adapter. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XSManagedConnectionFactory()
Method Detail |
---|
public ResourceAdapter getResourceAdapter()
getResourceAdapter
in interface ResourceAdapterAssociation
ResourceAdapterAssociation.getResourceAdapter()
public void setResourceAdapter(ResourceAdapter ra) throws ResourceException
setResourceAdapter
in interface ResourceAdapterAssociation
ra
- the eXtreme Scale resource adapter
ResourceException
IllegalStateException
ResourceAdapterAssociation.setResourceAdapter(ResourceAdapter)
public Object createConnectionFactory() throws ResourceException
createConnectionFactory
in interface ManagedConnectionFactory
ResourceException
ManagedConnectionFactory.createConnectionFactory()
public Object createConnectionFactory(ConnectionManager conMgr) throws ResourceException
createConnectionFactory
in interface ManagedConnectionFactory
conMgr
- - Connection Manager to be associated with the XSConnectionFactory.
ResourceException
- ResourceAdapterInternalExceptionManagedConnectionFactory.createConnectionFactory(ConnectionManager)
public ManagedConnection createManagedConnection(Subject subject, ConnectionRequestInfo conReq) throws ResourceException
createManagedConnection
in interface ManagedConnectionFactory
subject
- - Caller's security information. WebSphere eXtreme Scale client uses
the credentials specified in a CredentialGenerator as part of the ConnectionSpec
or the client properties.conReq
- - XS specific connection properties
ResourceException
ManagedConnectionFactory.createManagedConnection(Subject, ConnectionRequestInfo)
public PrintWriter getLogWriter() throws ResourceException
getLogWriter
in interface ManagedConnectionFactory
ResourceException
ManagedConnectionFactory.getLogWriter()
public ManagedConnection matchManagedConnections(Set connectionSet, Subject subject, ConnectionRequestInfo cxRequestInfo) throws ResourceException
matchManagedConnections
in interface ManagedConnectionFactory
connectionSet
- - candidate connection setsubject
- - caller's security informationcxRequestInfo
- - XS specific connection properties
ResourceException
ManagedConnectionFactory.matchManagedConnections(Set, Subject, ConnectionRequestInfo)
public void setLogWriter(PrintWriter out) throws ResourceException
setLogWriter
in interface ManagedConnectionFactory
out
- - PrintWriter - an out stream for error logging and tracing
ResourceException
ManagedConnectionFactory.setLogWriter(PrintWriter)
public void destroy()
public String getConnectionName()
public void setConnectionName(String connName)
connName
- - The name of the eXtreme Scale client connectionpublic String getObjectGridName()
public void setObjectGridName(String objectGridName)
objectGridName
- - The data grid namepublic String getCatalogServiceEndpoints()
public void setCatalogServiceEndpoints(String catalogServiceEndpoints)
catalogServiceEndpoints
- - The catalog service domain end pointspublic String getCatalogServiceDomain()
public void setCatalogServiceDomain(String catalogServiceDomain)
catalogServiceDomain
- - The catalog service domain name defined in WebSphere Application Serverpublic String getObjectGridURL()
public void setObjectGridURL(String objectGridURL)
objectGridURL
- The URL of the client data grid override XML filepublic String getObjectGridResource()
public void setObjectGridResource(String objectGridResource)
objectGridResource
- - The resource path of the client data grid override XML filepublic String getClientPropertiesURL()
public void setClientPropertiesURL(String clientPropsURL)
clientPropsURL
- - The URL of the client properties filepublic String getClientPropertiesResource()
public void setClientPropertiesResource(String clientPropsResource)
clientPropsResource
- - The resource path of the client properties filepublic void setLocalGrid(boolean useLocal)
useLocal
- - Indicates if this managed connection factory is used only for access to a local ObjectGrid instancepublic boolean isLocalGrid()
public int hashCode()
hashCode
in interface ManagedConnectionFactory
hashCode
in class Object
ManagedConnectionFactory.hashCode()
public boolean equals(Object obj)
equals
in interface ManagedConnectionFactory
equals
in class Object
ManagedConnectionFactory.equals(Object)
public String toString()
toString
in class Object
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |