org.apache.airavata.wsmg.msgbox
Class MsgBoxServiceLifeCycle

java.lang.Object
  extended by org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle
All Implemented Interfaces:
org.apache.axis2.engine.ServiceLifeCycle

public class MsgBoxServiceLifeCycle
extends Object
implements org.apache.axis2.engine.ServiceLifeCycle

This class initialize the messageBox service by setting the messageStore based on the configuration done by the user This is the LifeCycle class


Field Summary
static int GFAC_URL_UPDATE_INTERVAL
           
static int JCR_AVAIALABILITY_WAIT_INTERVAL
           
static String JCR_CLASS
           
static String JCR_PASS
           
static String JCR_USER
           
static String ORG_APACHE_JACKRABBIT_REPOSITORY_URI
           
static String REPOSITORY_PROPERTIES
           
 
Constructor Summary
MsgBoxServiceLifeCycle()
           
 
Method Summary
 void initDatabase(org.apache.axis2.context.ConfigurationContext configurationcontext, ConfigurationManager confmanager)
           
 void shutDown(org.apache.axis2.context.ConfigurationContext configurationcontext, org.apache.axis2.description.AxisService axisservice)
           
 void startUp(org.apache.axis2.context.ConfigurationContext configurationcontext, org.apache.axis2.description.AxisService axisservice)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REPOSITORY_PROPERTIES

public static final String REPOSITORY_PROPERTIES
See Also:
Constant Field Values

GFAC_URL_UPDATE_INTERVAL

public static final int GFAC_URL_UPDATE_INTERVAL
See Also:
Constant Field Values

JCR_AVAIALABILITY_WAIT_INTERVAL

public static final int JCR_AVAIALABILITY_WAIT_INTERVAL
See Also:
Constant Field Values

JCR_CLASS

public static final String JCR_CLASS
See Also:
Constant Field Values

JCR_USER

public static final String JCR_USER
See Also:
Constant Field Values

JCR_PASS

public static final String JCR_PASS
See Also:
Constant Field Values

ORG_APACHE_JACKRABBIT_REPOSITORY_URI

public static final String ORG_APACHE_JACKRABBIT_REPOSITORY_URI
See Also:
Constant Field Values
Constructor Detail

MsgBoxServiceLifeCycle

public MsgBoxServiceLifeCycle()
Method Detail

shutDown

public void shutDown(org.apache.axis2.context.ConfigurationContext configurationcontext,
                     org.apache.axis2.description.AxisService axisservice)
Specified by:
shutDown in interface org.apache.axis2.engine.ServiceLifeCycle

startUp

public void startUp(org.apache.axis2.context.ConfigurationContext configurationcontext,
                    org.apache.axis2.description.AxisService axisservice)
Specified by:
startUp in interface org.apache.axis2.engine.ServiceLifeCycle

initDatabase

public void initDatabase(org.apache.axis2.context.ConfigurationContext configurationcontext,
                         ConfigurationManager confmanager)


Copyright © 2011-2012 The Apache Software Foundation. All Rights Reserved.