org.jcreme.enumerations
Interface RemoteEnumerationInitializer
- All Superinterfaces:
- java.rmi.Remote
- All Known Implementing Classes:
- RemoteEnumerationInitializerImpl
- public interface RemoteEnumerationInitializer
- extends java.rmi.Remote
This interface enable to expose an EnumerationInitializer through RMI.
- Version:
- $Revision: 1.1 $
- Author:
- $Author: dbregeon $
Method Summary |
Enumeration[] |
loadValues(java.lang.Class enumerationClass)
This method enables to load the values associated with the given class.
|
loadValues
public Enumeration[] loadValues(java.lang.Class enumerationClass)
throws java.lang.IllegalArgumentException,
java.rmi.RemoteException
- 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.
- Parameters:
enumerationClass
- a subclass of the EnumerationClass.
- Returns:
- the same class a the enumeration class containing the values.
- Throws:
java.lang.IllegalArgumentException
- if the given class is null, not a subclass of Enumeration or
an abstract sublass of Enumeration.
java.rmi.RemoteException
- when an RMI error occurs.
Copyright 2006 null. All Rights Reserved.