GigaSpaces XAP 9.7.2 API

com.sun.jini.reggie
Class ServiceTypeBase

java.lang.Object
  extended by 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:
Serialized Form

Field Summary
 String codebase
          The codebase.
 com.sun.jini.reggie.ServiceType type
          The ServiceType.
 
Constructor Summary
ServiceTypeBase(com.sun.jini.reggie.ServiceType type, String codebase)
          Simple constructor
 
Method Summary
 void setCodebase(Class cls)
          Sets the codebase to the codebase of the given class.
static Class[] toClass(ServiceTypeBase[] stypes)
          Converts an array of ServiceTypeBase to an array of Class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

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


codebase

public String codebase
The codebase.

Constructor Detail

ServiceTypeBase

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

Method Detail

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.


GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.