|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.util.JBossNotificationBroadcasterSupport org.jboss.system.ServiceMBeanSupport org.jboss.portal.common.system.AbstractJBossService org.jboss.portal.cms.impl.jcr.JCRCMS org.jboss.portal.cms.impl.jcr.ha.HAJCRCMS
Extend the JCR CMS and make it run as an ha singleton.
Field Summary |
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
HAJCRCMS()
|
Method Summary | |
java.lang.Object |
execute(Command cmd)
Execute the command. |
java.lang.String |
getDisplayName()
Provide a simple display name for logging purpose. |
java.lang.Object |
invoke(java.lang.String methodName,
java.lang.Class[] types,
java.lang.Object[] args)
Invocation callback |
void |
setInvoker(HASingletonInvoker invoker)
Set the invoker on the client, if the invoker is not null then the invoker is available otherwise if it is null then the invoker is not available. |
void |
startService()
CMS Start |
void |
startSingleton()
Start the singleton. |
void |
stopService()
Shuts down the repo and unregisters it |
void |
stopSingleton()
Stop the singleton. |
Methods inherited from class org.jboss.portal.cms.impl.jcr.JCRCMS |
contentExists, createContent, getCmsStack, getCommandFactory, getConfig, getDefaultContentLocation, getDefaultLocale, getDoChecking, getHomeDir, getJCR, getRepository, getRepositoryName, setCmsStack, setConfig, setDefaultContentLocation, setDefaultLocale, setDoChecking, setHomeDir, setRepositoryName, startJCR, stopJCR |
Methods inherited from class org.jboss.portal.common.system.AbstractJBossService |
create, destroy, getState, getStateString, start, stop |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
createService, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HAJCRCMS()
Method Detail |
public java.lang.Object execute(Command cmd) throws CMSException
CMSException
public void startService() throws java.lang.Exception
JCRCMS
startService
in class JCRCMS
java.lang.Exception
public void stopService()
JCRCMS
stopService
in class JCRCMS
public void setInvoker(HASingletonInvoker invoker)
HASingletonInvokerMBean.Callback
setInvoker
in interface HASingletonInvokerMBean.Callback
public java.lang.Object invoke(java.lang.String methodName, java.lang.Class[] types, java.lang.Object[] args) throws CMSException
HASingletonInvokerMBean.Callback
invoke
in interface HASingletonInvokerMBean.Callback
CMSException
public java.lang.String getDisplayName()
HASingletonInvokerMBean.Callback
getDisplayName
in interface HASingletonInvokerMBean.Callback
public void startSingleton()
HASingletonInvokerMBean.Callback
startSingleton
in interface HASingletonInvokerMBean.Callback
public void stopSingleton()
HASingletonInvokerMBean.Callback
stopSingleton
in interface HASingletonInvokerMBean.Callback
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |