radtools.services.linux.fedora
Class AbstractFedoraHostedRADService
java.lang.Object
rcf.core.framework.component.DynamicComponent.Abstract
radtools.services.AbstractRADService
radtools.services.linux.AbstractLinuxHostedRADService
radtools.services.linux.fedora.AbstractFedoraHostedRADService
- All Implemented Interfaces:
- HostedRADService, FedoraHostedRADService, LinuxHostedRADService, RADService, DynamicBound, DynamicComponent, ReflectedBindable<DynamicComponent>, ReflectedComponent, rcf.core.util.accessor.GUIAccessible
- Direct Known Subclasses:
- MemcachedFedora, MySQLFedora
@Revision(value="$Revision: 1.6 $",
date="$Date: 2006/12/13 07:05:42 $",
tag="$Name: $")
public abstract class AbstractFedoraHostedRADService- extends AbstractLinuxHostedRADService
- implements FedoraHostedRADService
TODO: Javadoc
TODO: Unit tests, Code review, Javadoc review, Seal/Finalize
TODO: equals, hashCode, toString
- Version:
- $Revision: 1.6 $
- Author:
- Greg Gibeling
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface rcf.core.framework.component.DynamicBound |
gui |
| Methods inherited from interface rcf.core.util.accessor.GUIAccessible |
icon, popupMenu |
name
protected String name
- TODO: Javadoc
AbstractFedoraHostedRADService
protected AbstractFedoraHostedRADService(FedoraSystem _host,
RADService _composition,
String _name)
- TODO: Javadoc
- Parameters:
_host - _composition - _name -
host
public FedoraSystem host()
- Description copied from interface:
HostedRADService
- TODO: Javadoc
- Specified by:
host in interface HostedRADService- Specified by:
host in interface FedoraHostedRADService- Specified by:
host in interface LinuxHostedRADService- Overrides:
host in class AbstractLinuxHostedRADService
- Returns:
dependency().parent().get()
radServiceState
public DynamicProperty<RADService.State> radServiceState()
- Description copied from interface:
RADService
- Returns the dynamic property object for the state of this service. The
dynamic property can then be used to query the actual state, or to set it.
There are few restrictions on state, except that it must be
RADService.State.Unknown when
RADService.management().parent().get().radServiceState().get() != RADService.State.Running.
Note that the ImmutableSingletonInterface.get() and
SingletonInterface#set() methods on the dynamic property refer to
the offline state of this service. The
RADService.refresh() and RADService.update(boolean, RADService.State) methods
can be used to synchronize this state with the state of the actual
service. SingletonInterface#set() will
schedule
a call to RADService.update(boolean, RADService.State) so that the service
state will be updated in the future.
- Specified by:
radServiceState in interface RADService
- Returns:
- The dynamic property which represents the offline state of this
service.