|
GridGain 2.0.3
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.gridgain.grid.loaders.jboss.GridJbossLoader
@GridLoader(description="JBoss loader") public class GridJbossLoader
This is GridGain loader implemented as JBoss service. See GridJbossLoaderMBean for
configuration information (according to JBoss service convention). This loader should be
used for tight integration with JBoss. Specifically, it integrates GridGain with JBoss's logger
and MBean server. This loader should be used with [GRIDGAIN_HOME/config/jboss/jboss-service.xml
file shipped with GridGain. See Configuring and Starting GridGain
for more information.
Note: JBoss is not shipped with GridGain. If you don't have JBoss, you need to download it separately. See http://www.jboss.com for more information.
Note: When using JBoss discovery SPI (GridJbossDiscoverySpi) you cannot start
multiple GridGain instances in the same VM due to limitations of JBoss. GridGain runtime
will detect this situation and prevent GridGain from starting in such case.
See GridSpiMultipleInstancesSupport for detail.
See Also:
Documentation
Email Support
Online Forums
Issue Tracking
Author: 2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.0.3

| 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 | |
|---|---|
GridJbossLoader()
|
|
| Method Summary | |
|---|---|
String |
getConfigurationFile()
Gets configuration file path set in XML configuration for this service. |
void |
setConfigurationFile(String cfgFile)
Sets configuration file path. |
protected void |
startService()
|
protected void |
stopService()
|
String |
toString()
|
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
| 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, wait, wait, wait |
| Methods inherited from interface org.jboss.system.ServiceMBean |
|---|
getName, getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
|---|
create, destroy, start, stop |
| Constructor Detail |
|---|
public GridJbossLoader()
| Method Detail |
|---|
protected void startService()
throws Exception
startService in class org.jboss.system.ServiceMBeanSupportException
protected void stopService()
throws Exception
stopService in class org.jboss.system.ServiceMBeanSupportExceptionpublic String getConfigurationFile()
getConfigurationFile in interface GridJbossLoaderMBeanpublic void setConfigurationFile(String cfgFile)
setConfigurationFile in interface GridJbossLoaderMBeancfgFile - Configuration file path.public String toString()
toString in class Object
|
GridGain 2.0.3
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
|
GridGain - Grid Computing Made Simple, ver. 2.0.3.20052008
2005-2008 Copyright © GridGain Systems. All Rights Reserved. |
|