|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.oozie.service.JMSTopicService
public class JMSTopicService
JMS Topic service to retrieve topic names from events or job id
Nested Class Summary | |
---|---|
static class |
JMSTopicService.JobType
|
static class |
JMSTopicService.TopicType
|
Field Summary | |
---|---|
static String |
CONF_PREFIX
|
static String |
TOPIC_NAME
|
static String |
TOPIC_PREFIX
|
Fields inherited from interface org.apache.oozie.service.Service |
---|
DEFAULT_LOCK_TIMEOUT, lockTimeout, USE_XCOMMAND |
Constructor Summary | |
---|---|
JMSTopicService()
|
Method Summary | |
---|---|
void |
destroy()
Destroy the service. |
Class<? extends Service> |
getInterface()
Return the public interface of the service. |
String |
getTopic(org.apache.oozie.AppType appType,
String user,
String jobId,
String parentJobId)
Retrieve Topic |
String |
getTopic(String jobId)
Retrieve topic from Job id |
Properties |
getTopicPatternProperties()
|
String |
getTopicPrefix()
|
void |
init(Services services)
Initialize the service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CONF_PREFIX
public static final String TOPIC_NAME
public static final String TOPIC_PREFIX
Constructor Detail |
---|
public JMSTopicService()
Method Detail |
---|
public void init(Services services) throws ServiceException
Service
Service
singleton at start up time.
init
in interface Service
services
- services singleton initializing the service.
ServiceException
- thrown if the service could not initialize.public String getTopic(String jobId) throws JPAExecutorException
jobId
-
JPAExecutorException
public String getTopic(org.apache.oozie.AppType appType, String user, String jobId, String parentJobId)
appType
- user
- jobId
- parentJobId
-
public Properties getTopicPatternProperties()
public String getTopicPrefix()
public void destroy()
Service
Service
singleton at shutdown time.
destroy
in interface Service
public Class<? extends Service> getInterface()
Service
getInterface
in interface Service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |