radtools.services
Class AbstractRADService.AbstractRADServiceState

java.lang.Object
  extended by rcf.core.concurrent.events.AbstractEventSource
      extended by rcf.core.framework.component.AbstractDynamicProperty<RADService.State>
          extended by radtools.services.AbstractRADService.AbstractRADServiceState
All Implemented Interfaces:
EventSource, rcf.core.concurrent.primitives.Latch<RADService.State>, DynamicBound, DynamicProperty<RADService.State>, ReflectedBindable<DynamicProperty>, ReflectedProperty, rcf.core.util.accessor.GUIAccessible, ImmutableSingletonInterface<RADService.State>, SingletonInterface<RADService.State>
Direct Known Subclasses:
AbstractFedoraHostedRADService.State, AbstractNetworkTunnel.State, AdvancedResearchIndexLoadLinux.State, ComposedRADService.State, HAProxyLinux.State, LigHTTPDLinux.State, LinuxSession.State, LinuxSystem.State, RADTools.State, ResearchIndexLoadLinux.State, RoRServerLinux.State
Enclosing class:
AbstractRADService

public abstract class AbstractRADService.AbstractRADServiceState
extends AbstractDynamicProperty<RADService.State>

TODO: Javadoc

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

Version:
$Revision: 1.15 $
Author:
Greg Gibeling

Nested Class Summary
 
Nested classes/interfaces inherited from class rcf.core.framework.component.AbstractDynamicProperty
AbstractDynamicProperty.BooleanUpdate, AbstractDynamicProperty.DoubleUpdate, AbstractDynamicProperty.EnumComboUpdate<T>, AbstractDynamicProperty.EnumRadioUpdate<T>, AbstractDynamicProperty.IntegerUpdate, AbstractDynamicProperty.StringUpdate
 
Nested classes/interfaces inherited from interface rcf.core.framework.component.DynamicProperty
DynamicProperty.Default<T>
 
Nested classes/interfaces inherited from interface rcf.core.framework.component.DynamicBound
DynamicBound.GUIType
 
Nested classes/interfaces inherited from interface rcf.core.concurrent.primitives.Latch
rcf.core.concurrent.primitives.Latch.LatchCondition<T>
 
Field Summary
protected  RADService.State state
          TODO: Javadoc
 
Fields inherited from class rcf.core.framework.component.AbstractDynamicProperty
component, dynamicPropertyEventTypes, type
 
Fields inherited from class rcf.core.concurrent.events.AbstractEventSource
syndicate
 
Constructor Summary
AbstractRADService.AbstractRADServiceState()
          TODO: Javadoc
AbstractRADService.AbstractRADServiceState(rcf.core.util.collection.ImmutableCollection<RADService.State> _elements)
          TODO: Javadoc
 
Method Summary
protected abstract  RADService.State check()
          TODO: Javadoc
protected  void force(RADService.State _state, Throwable _cause)
          TODO: Javadoc
 RADService.State get()
          TODO: Javadoc Get the content element of this singleton.
 PropertyMode mode()
          TODO: Javadoc Determine if this property is readable, writeable, neither or both.
 String name()
          TODO: Javadoc The name of the property this object represents.
 void refresh()
          TODO: Javadoc
 RADService.State set(RADService.State a)
          TODO: Javadoc Set the content element of this singleton.
protected abstract  void update(RADService.State state)
          TODO: Javadoc
 
Methods inherited from class rcf.core.framework.component.AbstractDynamicProperty
bind, component, dynamicPropertyEventTypes, events, expect, getAs, gui, icon, popupMenu, setAs, type, use
 
Methods inherited from class rcf.core.concurrent.events.AbstractEventSource
createdSyndicate, destroyedSyndicate, getSequenceNumber, incSequenceNumber, isSyndicated, syndicate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface rcf.core.concurrent.events.EventSource
getSequenceNumber, incSequenceNumber, isSyndicated, syndicate
 

Field Detail

state

protected RADService.State state
TODO: Javadoc

Constructor Detail

AbstractRADService.AbstractRADServiceState

public AbstractRADService.AbstractRADServiceState()
TODO: Javadoc


AbstractRADService.AbstractRADServiceState

public AbstractRADService.AbstractRADServiceState(rcf.core.util.collection.ImmutableCollection<RADService.State> _elements)
TODO: Javadoc

Parameters:
_elements -
Method Detail

check

protected abstract RADService.State check()
TODO: Javadoc

Returns:

force

protected void force(RADService.State _state,
                     Throwable _cause)
TODO: Javadoc

Parameters:
_state -
_cause -

get

public RADService.State get()
Description copied from interface: ImmutableSingletonInterface
TODO: Javadoc Get the content element of this singleton.

Returns:
The content element of this singleton.

mode

public PropertyMode mode()
Description copied from interface: ReflectedProperty
TODO: Javadoc Determine if this property is readable, writeable, neither or both. Notice that the existence of a StaticGetMethod or StaticSetMethod annotated method may override the value specified here. It is an error to specify that a final field is writeable, and it is a warning to specify that e.g. a field is not readable when it has a StaticGetMethod method or not writeable with a StaticSetMethod method.

Specified by:
mode in interface ReflectedProperty
Overrides:
mode in class AbstractDynamicProperty<RADService.State>

name

public String name()
Description copied from interface: ReflectedProperty
TODO: Javadoc The name of the property this object represents.


refresh

public void refresh()
TODO: Javadoc


set

public RADService.State set(RADService.State a)
Description copied from interface: SingletonInterface
TODO: Javadoc Set the content element of this singleton.

Parameters:
a - The new content element of this singleton.
Returns:
The old content element of this singleton.

update

protected abstract void update(RADService.State state)
TODO: Javadoc