|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.springframework.transaction.jta.WebSphereTransactionManagerFactoryBean
FactoryBean that retrieves the JTA TransactionManager for IBM's WebSphere 4 and 5 application servers.
Uses WebSphere's static access methods to obtain the JTA TransactionManager (different for WebSphere 4.x and 5.x).
JtaTransactionManager.setTransactionManager(javax.transaction.TransactionManager),
com.ibm.ejs.jts.jta.JTSXA#getTransactionManager,
com.ibm.ejs.jts.jta.TransactionManagerFactory#getTransactionManager| Constructor Summary | |
WebSphereTransactionManagerFactoryBean()
|
|
| Method Summary | |
java.lang.Object |
getObject()
Return an instance (possibly shared or independent) of the object managed by this factory. |
java.lang.Class |
getObjectType()
Return the type of object that this FactoryBean creates, or null if not known in advance. |
boolean |
isSingleton()
Is the bean managed by this factory a singleton or a prototype? That is, will getObject() always return the same object? |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WebSphereTransactionManagerFactoryBean()
throws java.lang.ClassNotFoundException,
java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
| Method Detail |
public java.lang.Object getObject()
FactoryBean
getObject in interface FactoryBeanpublic java.lang.Class getObjectType()
FactoryBeanFor a singleton, this can simply return getObject().getClass(), or even null, as autowiring will always check the actual objects for singletons. For prototypes, returning a meaningful type here is highly advisable, as autowiring will simply ignore them else.
getObjectType in interface FactoryBeanListableBeanFactory.getBeansOfType(java.lang.Class, boolean, boolean)public boolean isSingleton()
FactoryBeanThe singleton status of the FactoryBean itself will generally be provided by the owning BeanFactory.
isSingleton in interface FactoryBean
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||