public class GigaSpaceXAConnectionFactory extends Object implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean
XAConnectionFactory based on a Space instance.
Note, the GigaSpace is used to acquire the IJSpace instance allowing to get the "clustered" flag behavior. Transactional
support should use plain JMS transactional handling and GigaSpace support for automatic
transaction joining is not used in this case.
| Constructor and Description |
|---|
GigaSpaceXAConnectionFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
Object |
getObject() |
Class |
getObjectType() |
boolean |
isSingleton() |
void |
setGigaSpace(GigaSpace gigaSpace)
The GigaSpace instance to acquire the
IJSpace from. |
void |
setMessageConverter(IMessageConverter messageConverter)
An optional message converter allowing (for sending purposes) not to send JMS messages to the
Space, but to send a converted instance and write a "business" entry to the Space.
|
public void setGigaSpace(GigaSpace gigaSpace)
IJSpace from.
Note, the GigaSpace is used to acquire the IJSpace instance allowing to get the "clustered" flag behavior.
Transactional support should use plain JMS transactional handling and GigaSpace support for
automatic transaction joining is not used in this case.
public void setMessageConverter(IMessageConverter messageConverter)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic Object getObject() throws Exception
getObject in interface org.springframework.beans.factory.FactoryBeanExceptionpublic Class getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBeanpublic boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBeanCopyright © GigaSpaces.