Class ClassRegistry
java.lang.Object
septogeddon.pluginquery.library.remote.ClassRegistry
Set of serializable classes and representators
- Author:
- Thito Yalasatria Sunarya
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass
<?> Get class from namevoid
registerClass
(Class<?> cl) Register a representator classvoid
unregisterClass
(Class<?> cl) Unregister a representator class
-
Constructor Details
-
ClassRegistry
public ClassRegistry()
-
-
Method Details
-
getClass
Get class from name- Parameters:
name
- the class name- Returns:
- the class
- Throws:
ClassNotFoundException
- if there is no such class or no representator available
-
registerClass
Register a representator class- Parameters:
cl
- interface class
-
unregisterClass
Unregister a representator class- Parameters:
cl
- interface class
-