radtools.services.vmware
Class VMWareFedora

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
                      extended by radtools.services.vmware.VMWareFedora
All Implemented Interfaces:
SecureSystem<UsernamePasswordPrincipal>, HostedRADService, LinuxHostedRADService, NetworkSystem<UsernamePasswordPrincipal>, RADService, RemoteHostedRADService, RemoteRADService, DynamicBound, DynamicComponent, ReflectedBindable<DynamicComponent>, ReflectedComponent, rcf.core.util.accessor.GUIAccessible

@Revision(value="$Revision: 1.4 $",
          date="$Date: 2006/12/16 05:16:50 $",
          tag="$Name:  $")
public class VMWareFedora
extends FedoraSystem
implements LinuxHostedRADService, RemoteHostedRADService

TODO: Javadoc

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

Version:
$Revision: 1.4 $
Author:
Greg Gibeling

Nested Class Summary
protected  class VMWareFedora.State
          TODO: Javadoc
 
Nested classes/interfaces inherited from class radtools.services.linux.LinuxSystem
LinuxSystem.FrameworkEventSink
 
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
 
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
 
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
protected  String config
          TODO: Javadoc
 
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
VMWareFedora(LinuxSystem _host, RADService _composition, UsernamePasswordPrincipal _principal, boolean tunnel, HostPort _hostport, byte[] _hostkey, String _config)
          TODO: Javadoc
 
Method Summary
 LinuxSystem host()
          TODO: Javadoc
 DynamicProperty<RADService.State> radServiceState()
          Returns the dynamic property object for the state of this service.
 
Methods inherited from class radtools.services.linux.fedora.FedoraSystem
getServiceExist, getServiceState, setServiceState
 
Methods inherited from class radtools.services.linux.LinuxSystem
boottime, connect, connect, disconnect, getArchive, isConcrete, ping, principal, 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, isConcrete, 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.framework.component.ReflectedComponent
interfaces, isInstance
 
Methods inherited from interface rcf.core.framework.component.ReflectedBindable
bind
 
Methods inherited from interface radtools.services.RemoteRADService
hostport
 
Methods inherited from interface radtools.services.RADService
communication, composition, dependency, isConcrete, 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.framework.component.ReflectedComponent
interfaces, isInstance
 
Methods inherited from interface rcf.core.framework.component.ReflectedBindable
bind
 
Methods inherited from interface radtools.services.RADService
communication, composition, dependency, isConcrete, 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.framework.component.ReflectedComponent
interfaces, isInstance
 
Methods inherited from interface rcf.core.framework.component.ReflectedBindable
bind
 

Field Detail

config

protected final String config
TODO: Javadoc

Constructor Detail

VMWareFedora

public VMWareFedora(LinuxSystem _host,
                    RADService _composition,
                    UsernamePasswordPrincipal _principal,
                    boolean tunnel,
                    HostPort _hostport,
                    byte[] _hostkey,
                    String _config)
TODO: Javadoc

Parameters:
_host -
_principal -
tunnel - If true indicates the _hostport is relative to _host not to the machine this code is running from.
_hostport -
_hostkey -
_config -
Method Detail

host

public LinuxSystem host()
Description copied from interface: HostedRADService
TODO: Javadoc

Specified by:
host in interface HostedRADService
Specified by:
host in interface LinuxHostedRADService
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
Overrides:
radServiceState in class LinuxSystem
Returns:
The dynamic property which represents the offline state of this service.