radtools.services.mysql
Class MySQLFedora

java.lang.Object
  extended by rcf.core.framework.component.DynamicComponent.Abstract
      extended by radtools.services.AbstractRADService
          extended by radtools.services.linux.AbstractLinuxHostedRADService
              extended by radtools.services.linux.fedora.AbstractFedoraHostedRADService
                  extended by radtools.services.mysql.MySQLFedora
All Implemented Interfaces:
ConfigWriter, HostedRADService, FedoraHostedRADService, LinuxHostedRADService, RADService, DynamicBound, DynamicComponent, ReflectedBindable<DynamicComponent>, ReflectedComponent, rcf.core.util.accessor.GUIAccessible

@Revision(value="$Revision: 1.4 $",
          date="$Date: 2006/12/13 07:05:44 $",
          tag="$Name:  $")
public class MySQLFedora
extends AbstractFedoraHostedRADService
implements ConfigWriter

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
 class MySQLFedora.ConfigSink
          TODO: Javadoc
 class MySQLFedora.ConfigTask
          TODO: Javadoc
 
Nested classes/interfaces inherited from class radtools.services.linux.fedora.AbstractFedoraHostedRADService
AbstractFedoraHostedRADService.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
protected  String baseDirectory
          TODO: Javadoc
protected  StrongReference<EventSink<? super DynamicPropertyEvent>> configSink
          TODO: Javadoc
protected  String dataDirectory
          TODO: Javadoc
protected  String log
          TODO: Javadoc
protected  String logError
          TODO: Javadoc
protected  boolean oldPasswords
          TODO: Javadoc
protected  String pidFile
          TODO: Javadoc
protected  String socket
          TODO: Javadoc
protected  String user
          TODO: Javadoc
 
Fields inherited from class radtools.services.linux.fedora.AbstractFedoraHostedRADService
name
 
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
MySQLFedora(FedoraSystem _host, RADService _composition)
          TODO: Javadoc
 
Method Summary
private  void config()
          TODO: Javadoc
 boolean generate(OutputStream _out, String separator)
          TODO: Javadoc
 boolean isConcrete()
          Determine if this RADService is a concrete service, or simply an arbitrary abstraction built for management purposes.
 String toString()
           
 
Methods inherited from class radtools.services.linux.fedora.AbstractFedoraHostedRADService
host, radServiceState
 
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
 

Field Detail

dataDirectory

@StaticProperty(value="MySQL.DataDirectory")
protected String dataDirectory
TODO: Javadoc


socket

@StaticProperty(value="MySQL.Socket")
protected String socket
TODO: Javadoc


oldPasswords

@StaticProperty(value="MySQL.OldPasswords")
protected boolean oldPasswords
TODO: Javadoc


log

@StaticProperty(value="MySQL.Log")
protected String log
TODO: Javadoc


user

@StaticProperty(value="MySQL.User")
protected String user
TODO: Javadoc


baseDirectory

@StaticProperty(value="MySQL.BaseDirectory")
protected String baseDirectory
TODO: Javadoc


logError

@StaticProperty(value="MySQL.LogError")
protected String logError
TODO: Javadoc


pidFile

@StaticProperty(value="MySQL.PIDFile")
protected String pidFile
TODO: Javadoc


configSink

protected final StrongReference<EventSink<? super DynamicPropertyEvent>> configSink
TODO: Javadoc

Constructor Detail

MySQLFedora

public MySQLFedora(FedoraSystem _host,
                   RADService _composition)
TODO: Javadoc

Parameters:
_host -
_composition -
Method Detail

generate

public boolean generate(OutputStream _out,
                        String separator)
Description copied from interface: ConfigWriter
TODO: Javadoc

Specified by:
generate in interface ConfigWriter
Parameters:
_out - The output stream to write the configuration to.
separator - The line separator to use. Must be a parameter since the file may be destined for a machine other than the one it is being written on.
Returns:

isConcrete

public boolean isConcrete()
Description copied from interface: RADService
Determine if this RADService is a concrete service, or simply an arbitrary abstraction built for management purposes.

Specified by:
isConcrete in interface RADService
Returns:
true if this object represents a concrete service. false if this object represents an arbitrary abstraction, and does not correspond to a real service.

toString

public String toString()
Overrides:
toString in class Object

config

private void config()
TODO: Javadoc