org.jcreme.enumerations
Class RMIEnumerationInitializer

java.lang.Object
  extended byorg.jcreme.enumerations.RMIEnumerationInitializer
All Implemented Interfaces:
EnumerationInitializer

public class RMIEnumerationInitializer
extends java.lang.Object
implements EnumerationInitializer

This implementation enables to use a RemoteEnumerationInitializer through the EnumerationInitializer interface.

Version:
$Revision: 1.2 $
Author:
$Author: dbregeon $

Constructor Summary
RMIEnumerationInitializer(RemoteEnumerationInitializer actualInitializer)
          Creates a new instance of RMIStaticDataInitializer
 
Method Summary
 void loadValues(java.lang.Class enumerationClass)
          This method enables to load the values associated with the given class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMIEnumerationInitializer

public RMIEnumerationInitializer(RemoteEnumerationInitializer actualInitializer)
                          throws java.lang.IllegalArgumentException
Creates a new instance of RMIStaticDataInitializer

Parameters:
actualInitializer - the remote initializer to which this instance is connected. It must not be null.
Throws:
java.lang.IllegalArgumentException - if the actualInitializer is null.
Method Detail

loadValues

public void loadValues(java.lang.Class enumerationClass)
                throws java.lang.IllegalArgumentException
This method enables to load the values associated with the given class. After a call to this method, the values are available through the usual class methods.

Specified by:
loadValues in interface EnumerationInitializer
Parameters:
enumerationClass - a subclass of the Enumeration Class.
Throws:
java.lang.IllegalArgumentException - if the given class is null, not a subclass of Enumeration or an abstract sublass of Enumeration.


Copyright 2006 null. All Rights Reserved.