radtools.services.linux.fedora
Class FedoraSystem

java.lang.Object
  extended by rcf.core.framework.component.DynamicComponent.Abstract
      extended by radtools.services.AbstractRADService
          extended by radtools.services.AbstractRemoteRADService
              extended by radtools.services.linux.LinuxSystem
                  extended by radtools.services.linux.fedora.FedoraSystem
All Implemented Interfaces:
SecureSystem<UsernamePasswordPrincipal>, NetworkSystem<UsernamePasswordPrincipal>, RADService, RemoteRADService, DynamicBound, DynamicComponent, ReflectedBindable<DynamicComponent>, ReflectedComponent, rcf.core.util.accessor.GUIAccessible
Direct Known Subclasses:
VMWareFedora

@Revision(value="$Revision: 1.5 $",
          date="$Date: 2006/12/15 20:37:50 $",
          tag="$Name:  $")
public class FedoraSystem
extends LinuxSystem

TODO: Javadoc

TODO: Unit tests, Code review, Javadoc review, Seal/Finalize TODO: equals, hashCode, toString

Version:
$Revision: 1.5 $
Author:
Greg Gibeling

Nested Class Summary
 
Nested classes/interfaces inherited from class radtools.services.linux.LinuxSystem
LinuxSystem.FrameworkEventSink, LinuxSystem.State
 
Nested classes/interfaces inherited from class radtools.services.AbstractRADService
AbstractRADService.AbstractRADServiceState, AbstractRADService.RefreshTask, AbstractRADService.StateProxy, AbstractRADService.UpdateTask
 
Nested classes/interfaces inherited from interface rcf.core.framework.component.DynamicComponent
DynamicComponent.Abstract, DynamicComponent.Default
 
Nested classes/interfaces inherited from interface rcf.core.framework.component.DynamicBound
DynamicBound.GUIType
 
Field Summary
 
Fields inherited from class radtools.services.linux.LinuxSystem
hostkey
 
Fields inherited from class radtools.services.AbstractRemoteRADService
hostport
 
Fields inherited from class radtools.services.AbstractRADService
composition, dependency, management, proxy, state, window
 
Fields inherited from class rcf.core.framework.component.DynamicComponent.Abstract
component, operations, properties
 
Constructor Summary
FedoraSystem(RADService _management, RADService _dependency, RADService _composition, UsernamePasswordPrincipal _principal, HostPort _hostport, byte[] _hostkey)
          TODO: Javadoc
 
Method Summary
 boolean getServiceExist(String name)
          TODO: Javadoc
 RADService.State getServiceState(String name)
          Get the state of the specified service daemon running under Fedora Core linux, using the /sbin/service script.
 void setServiceState(String name, RADService.State state)
          Set the state of the specified service daemon running under Fedora Core linux, using the /sbin/service script.
 
Methods inherited from class radtools.services.linux.LinuxSystem
boottime, connect, connect, disconnect, getArchive, isConcrete, ping, principal, radServiceState, setArchive, toString
 
Methods inherited from class radtools.services.AbstractRemoteRADService
hostport
 
Methods inherited from class radtools.services.AbstractRADService
check, communication, composition, dependency, icon, management, radTools, refresh, update, window
 
Methods inherited from class rcf.core.framework.component.DynamicComponent.Abstract
bind, component, gui, interfaces, isInstance, o, operations, popupMenu, properties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface radtools.services.RADService
communication, composition, dependency, management, refresh, update, window
 
Methods inherited from interface rcf.core.framework.component.DynamicComponent
component, operations, properties
 
Methods inherited from interface rcf.core.framework.component.DynamicBound
gui
 
Methods inherited from interface rcf.core.util.accessor.GUIAccessible
icon, popupMenu
 
Methods inherited from interface rcf.core.framework.component.ReflectedComponent
interfaces, isInstance
 
Methods inherited from interface rcf.core.framework.component.ReflectedBindable
bind
 

Constructor Detail

FedoraSystem

public FedoraSystem(RADService _management,
                    RADService _dependency,
                    RADService _composition,
                    UsernamePasswordPrincipal _principal,
                    HostPort _hostport,
                    byte[] _hostkey)
TODO: Javadoc

Parameters:
_management -
_dependency -
_composition -
_principal -
_hostport -
_hostkey -
Method Detail

getServiceExist

@StaticOperation(value="System.GetServiceExist")
public boolean getServiceExist(String name)
TODO: Javadoc

Parameters:
name -
Returns:

getServiceState

@StaticOperation(value="System.GetServiceState")
public RADService.State getServiceState(String name)
Get the state of the specified service daemon running under Fedora Core linux, using the /sbin/service script. This can be used to implement the "RADService.State" property.

Parameters:
name - The name of the service to get the state of.
Returns:
The current state of the specified service.
See Also:
RADService.radServiceState()

setServiceState

@StaticOperation(value="System.SetServiceState")
public void setServiceState(String name,
                                                 RADService.State state)
Set the state of the specified service daemon running under Fedora Core linux, using the /sbin/service script. This can be used to implement the "RADService.State" property.

Parameters:
name - The name of the service to set the state of.
state - The state to set the specified service to.
See Also:
RADService.radServiceState()