|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.portal.alert.GearMessagePublisher
public class GearMessagePublisher
This class' purpose is to take care of all JMS initialization and to write the JMS messages, to the appropriate destination. This "Producer" is the class that handles the JMS lookup necessary to obtain the initial context and connection required to send the message. The producer will require the following elements are specified:
Properties:
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
GearMessagePublisher()
|
Method Summary | |
---|---|
void |
doStartService()
This is called after a Service has been created, placed into the naming hierarchy, and initialized with its configured property values. |
void |
doStopService()
This is called when a Service is required to shut down. |
java.lang.String |
getConnectionFactoryName()
Get the connectionFactoryName |
java.lang.String |
getTopicName()
Get the topicName |
void |
setConnectionFactoryName(java.lang.String pConnectionFactoryName)
Set the connectionFactoryName |
void |
setTopicName(java.lang.String pTopicName)
Set the topicName |
void |
writeMessage(GearMessage pMessageObject)
Deprecated. |
void |
writeMessage(PortalMessage pMessageObject)
Publish the message object |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public GearMessagePublisher()
Method Detail |
---|
public void doStartService() throws ServiceException
GenericService
doStartService
in class GenericService
ServiceException
- if the Service had a problem starting uppublic void doStopService() throws ServiceException
GenericService
doStopService
in class GenericService
ServiceException
- if the Service had a problem shutting downpublic java.lang.String getConnectionFactoryName()
public void setConnectionFactoryName(java.lang.String pConnectionFactoryName)
public java.lang.String getTopicName()
public void setTopicName(java.lang.String pTopicName)
public void writeMessage(GearMessage pMessageObject) throws javax.jms.JMSException
javax.jms.JMSException
public void writeMessage(PortalMessage pMessageObject) throws javax.jms.JMSException
javax.jms.JMSException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |