Package com.zeroc.Ice

Class ClassSliceLoader

java.lang.Object
com.zeroc.Ice.ClassSliceLoader
All Implemented Interfaces:
SliceLoader

public final class ClassSliceLoader extends Object implements SliceLoader
Implements SliceLoader using an array of annotated classes.
  • Constructor Details

  • Method Details

    • newInstance

      public Object newInstance(String typeId)
      Description copied from interface: SliceLoader
      Creates an instance of a class mapped from a Slice class or exception based on a Slice type ID.
      Specified by:
      newInstance in interface SliceLoader
      Parameters:
      typeId - The Slice type ID or compact type ID.
      Returns:
      A new instance of the class or exception identified by typeId, or null if the implementation cannot find the corresponding class.