Class ServiceTypeBase

java.lang.Object
com.sun.jini.reggie.ServiceTypeBase
All Implemented Interfaces:
Serializable

public class ServiceTypeBase extends Object implements Serializable
A ServiceType annotated with a codebase.
Author:
Sun Microsystems, Inc.
See Also:
  • Field Details

    • type

      public final com.sun.jini.reggie.ServiceType type
      The ServiceType.
    • codebase

      public String codebase
      The codebase.
  • Constructor Details

    • ServiceTypeBase

      public ServiceTypeBase(com.sun.jini.reggie.ServiceType type, String codebase)
      Simple constructor
  • Method Details

    • setCodebase

      public void setCodebase(Class cls)
      Sets the codebase to the codebase of the given class.
    • toClass

      public static Class[] toClass(ServiceTypeBase[] stypes)
      Converts an array of ServiceTypeBase to an array of Class. If a class cannot be loaded, it is left as null.