Class ClassRegistry

java.lang.Object
septogeddon.pluginquery.library.remote.ClassRegistry

public class ClassRegistry extends Object
Set of serializable classes and representators
Author:
Thito Yalasatria Sunarya
  • Constructor Details

    • ClassRegistry

      public ClassRegistry()
  • Method Details

    • getClass

      public Class<?> getClass(String name) throws ClassNotFoundException
      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

      public void registerClass(Class<?> cl)
      Register a representator class
      Parameters:
      cl - interface class
    • unregisterClass

      public void unregisterClass(Class<?> cl)
      Unregister a representator class
      Parameters:
      cl - interface class