org.apache.oozie.client.rest
Class JMSConnectionInfoBean

java.lang.Object
  extended by org.apache.oozie.client.rest.JMSConnectionInfoBean
All Implemented Interfaces:
org.apache.oozie.client.JMSConnectionInfoWrapper, JsonBean

public class JMSConnectionInfoBean
extends Object
implements JsonBean, org.apache.oozie.client.JMSConnectionInfoWrapper

JMS connection info bean representing the JMS related information for a job


Constructor Summary
JMSConnectionInfoBean()
           
 
Method Summary
 Properties getJNDIProperties()
           
 Properties getTopicPatternProperties()
           
 String getTopicPrefix()
           
 void setJNDIProperties(Properties JNDIProperties)
          Set the JNDI properties for jms connection
 void setTopicPatternProperties(Properties topicProperties)
          Set the topic pattern properties
 void setTopicPrefix(String topicPrefix)
          Sets the topic prefix
 org.json.simple.JSONObject toJSONObject()
          Return the JSONObject for the bean with GMT time zone.
 org.json.simple.JSONObject toJSONObject(String timeZoneId)
          Return the JSONObject for the bean with the given time zone.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMSConnectionInfoBean

public JMSConnectionInfoBean()
Method Detail

toJSONObject

public org.json.simple.JSONObject toJSONObject()
Description copied from interface: JsonBean
Return the JSONObject for the bean with GMT time zone.

Specified by:
toJSONObject in interface JsonBean
Returns:
the JSONObject for the bean with GMT time zone.

setJNDIProperties

public void setJNDIProperties(Properties JNDIProperties)
Set the JNDI properties for jms connection

Parameters:
JNDIProperties -

getJNDIProperties

public Properties getJNDIProperties()
Specified by:
getJNDIProperties in interface org.apache.oozie.client.JMSConnectionInfoWrapper

toJSONObject

public org.json.simple.JSONObject toJSONObject(String timeZoneId)
Description copied from interface: JsonBean
Return the JSONObject for the bean with the given time zone.

Specified by:
toJSONObject in interface JsonBean
Parameters:
timeZoneId - the time zone to use
Returns:
the JSONObject for the bean with the given time zone.

getTopicPrefix

public String getTopicPrefix()
Specified by:
getTopicPrefix in interface org.apache.oozie.client.JMSConnectionInfoWrapper

setTopicPrefix

public void setTopicPrefix(String topicPrefix)
Sets the topic prefix

Parameters:
topicPrefix -

setTopicPatternProperties

public void setTopicPatternProperties(Properties topicProperties)
Set the topic pattern properties

Parameters:
topicProperties -

getTopicPatternProperties

public Properties getTopicPatternProperties()
Specified by:
getTopicPatternProperties in interface org.apache.oozie.client.JMSConnectionInfoWrapper


Copyright © 2013 Apache Software Foundation. All Rights Reserved.