|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.resource.adapter.jms.JmsManagedConnectionFactory
??? Created: Sat Mar 31 03:08:35 2001
Constructor Summary | |
JmsManagedConnectionFactory()
|
Method Summary | |
Object |
createConnectionFactory()
Create a "non managed" connection factory. |
Object |
createConnectionFactory(javax.resource.spi.ConnectionManager cxManager)
Create a ConnectionFactory with appserver hook |
javax.resource.spi.ManagedConnection |
createManagedConnection(Subject subject,
javax.resource.spi.ConnectionRequestInfo info)
Create a new connection to manage in pool |
boolean |
equals(Object obj)
Checks for equality ower the configured properties. |
String |
getClientID()
Get client id, may be null. |
org.jboss.jms.jndi.JMSProviderAdapter |
getJmsProviderAdapter()
|
String |
getJmsProviderAdapterJNDI()
|
PrintWriter |
getLogWriter()
|
javax.jms.ConnectionMetaData |
getMetaData()
|
String |
getPassword()
Get password, may be null. |
protected JmsMCFProperties |
getProperties()
|
String |
getSessionDefaultType()
|
String |
getUserName()
Get userName, may be null. |
int |
hashCode()
|
boolean |
isStrict()
|
javax.resource.spi.ManagedConnection |
matchManagedConnections(Set connectionSet,
Subject subject,
javax.resource.spi.ConnectionRequestInfo info)
Match a set of connections from the pool |
void |
setClientID(String clientID)
Set client id, null by default. |
void |
setJmsProviderAdapter(org.jboss.jms.jndi.JMSProviderAdapter adapter)
For local access |
void |
setJmsProviderAdapterJNDI(String jndi)
|
void |
setLogWriter(PrintWriter out)
|
void |
setPassword(String password)
Set password, null by default. |
void |
setSessionDefaultType(String type)
Set the default session typ |
void |
setStrict(boolean strict)
|
void |
setStrict(Boolean strict)
|
void |
setUserName(String userName)
Set userName, null by default. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JmsManagedConnectionFactory()
Method Detail |
public Object createConnectionFactory() throws javax.resource.ResourceException
createConnectionFactory
in interface javax.resource.spi.ManagedConnectionFactory
javax.resource.ResourceException
public Object createConnectionFactory(javax.resource.spi.ConnectionManager cxManager) throws javax.resource.ResourceException
createConnectionFactory
in interface javax.resource.spi.ManagedConnectionFactory
javax.resource.ResourceException
public javax.resource.spi.ManagedConnection createManagedConnection(Subject subject, javax.resource.spi.ConnectionRequestInfo info) throws javax.resource.ResourceException
createManagedConnection
in interface javax.resource.spi.ManagedConnectionFactory
javax.resource.ResourceException
public javax.resource.spi.ManagedConnection matchManagedConnections(Set connectionSet, Subject subject, javax.resource.spi.ConnectionRequestInfo info) throws javax.resource.ResourceException
matchManagedConnections
in interface javax.resource.spi.ManagedConnectionFactory
javax.resource.ResourceException
public void setLogWriter(PrintWriter out) throws javax.resource.ResourceException
setLogWriter
in interface javax.resource.spi.ManagedConnectionFactory
javax.resource.ResourceException
public PrintWriter getLogWriter() throws javax.resource.ResourceException
getLogWriter
in interface javax.resource.spi.ManagedConnectionFactory
javax.resource.ResourceException
public boolean equals(Object obj)
equals
in interface javax.resource.spi.ManagedConnectionFactory
public int hashCode()
hashCode
in interface javax.resource.spi.ManagedConnectionFactory
public void setJmsProviderAdapterJNDI(String jndi)
public String getJmsProviderAdapterJNDI()
public void setUserName(String userName)
public String getUserName()
public void setPassword(String password)
public String getPassword()
public String getClientID()
public void setClientID(String clientID)
public void setSessionDefaultType(String type) throws javax.resource.ResourceException
type
- either javax.jms.Topic or javax.jms.Queue
javax.resource.ResourceException
- if type was not a valid type.public String getSessionDefaultType()
public boolean isStrict()
public void setStrict(boolean strict)
public void setStrict(Boolean strict)
public void setJmsProviderAdapter(org.jboss.jms.jndi.JMSProviderAdapter adapter)
public org.jboss.jms.jndi.JMSProviderAdapter getJmsProviderAdapter()
public javax.jms.ConnectionMetaData getMetaData()
protected JmsMCFProperties getProperties()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |