rcf.core.util.groups
Interface SingletonInterface<A>

All Superinterfaces:
ImmutableSingletonInterface<A>
All Known Subinterfaces:
DynamicProperty<T>, Iterator<T>, PairInterface<A,B>, Position<T>, TripleInterface<A,B,C>
All Known Implementing Classes:
AbstractDynamicProperty, AbstractFedoraHostedRADService.State, AbstractNetworkTunnel.State, AbstractRADService.AbstractRADServiceState, AdvancedResearchIndexLoadLinux.State, AtomicReference, CompleteDynamicProperty, ComposedRADService.State, DefaultDynamicProperty, DynamicProperty.Default, FilteredDynamicProperty, FilteredReference, GUICollection, GUIImmutableCollection, GUIImmutableTree, GUITree, HAProxyLinux.State, LigHTTPDLinux.State, LinuxSession.State, LinuxSystem.State, Pair, Pair.Iterator, RADTools.State, ResearchIndexLoadLinux.State, RoRServerLinux.State, Singleton, Singleton.Iterator, StrongReference, ThreadLocalReference, Triple, Triple.Iterator, VMWareFedora.State, VMWareLinux.State

@Revision(value="$Revision: 1.4 $",
          date="$Date: 2006/11/09 02:10:10 $",
          tag="$Name:  $")
public interface SingletonInterface<A>
extends ImmutableSingletonInterface<A>

TODO: Javadoc Contains methods for mutating the content element in a singleton object, which can be virtualized. By using this interface, we can allow classes to act as singletons, without requiring them to inherit from the Singleton class.

In addition to all the specialized uses in ImmutableSingletonInterface this interface is the basis of the rcf.core.util.reference package, which helps standardize the java language support for references of varying strength.

Version:
$Revision: 1.4 $
Author:
Greg Gibeling

Method Summary
 A set(A a)
          TODO: Javadoc Set the content element of this singleton.
 
Methods inherited from interface rcf.core.util.groups.ImmutableSingletonInterface
get
 

Method Detail

set

A set(A a)
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.