|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openspaces.jms.GigaSpaceConnectionFactory
public class GigaSpaceConnectionFactory
A Spring factory bean for creating GigaSpaces JMS implementation of JMS
ConnectionFactory
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 Summary | |
---|---|
GigaSpaceConnectionFactory()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
Object |
getObject()
|
Class |
getObjectType()
|
boolean |
isSingleton()
|
void |
setGigaSpace(GigaSpace gigaSpace)
The GigaSpace instance to acquire the IJSpace
from. |
void |
setMessageConverter(com.j_spaces.jms.utils.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GigaSpaceConnectionFactory()
Method Detail |
---|
public void setGigaSpace(GigaSpace gigaSpace)
IJSpace
from.
Note, the GigaSpace
is used to acquire the
IJSpace
instance allowing to get the "clustered"
flag beaviour. Transacitonal support should use plain JMS transactional
handling and GigaSpace support for automatic transaction joining is not
used in this case.
public void setMessageConverter(com.j_spaces.jms.utils.IMessageConverter messageConverter)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public Object getObject() throws Exception
getObject
in interface FactoryBean
Exception
public Class getObjectType()
getObjectType
in interface FactoryBean
public boolean isSingleton()
isSingleton
in interface FactoryBean
|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |