GigaSpaces XAP 9.7.2 API

com.sun.jini.reggie
Class Template

java.lang.Object
  extended by com.sun.jini.reggie.Template
All Implemented Interfaces:
Serializable

public class Template
extends Object
implements Serializable

A Template contains the fields of a ServiceTemplate packaged up for transmission between client-side proxies and the registrar server. Instances are never visible to clients, they are private to the communication between the proxies and the server.

This class only has a bare minimum of methods, to minimize the amount of code downloaded into clients.

Author:
Sun Microsystems, Inc.
See Also:
Serialized Form

Field Summary
 EntryRep[] attributeSetTemplates
          ServiceTemplate.attributeSetTemplates converted to EntryReps
 ServiceID serviceID
          ServiceTemplate.serviceID
 com.sun.jini.reggie.ServiceType[] serviceTypes
          ServiceTemplate.serviceTypes converted to ServiceTypes
 
Constructor Summary
Template(ServiceTemplate tmpl)
          Converts a ServiceTemplate to a Template.
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serviceID

public ServiceID serviceID
ServiceTemplate.serviceID


serviceTypes

public com.sun.jini.reggie.ServiceType[] serviceTypes
ServiceTemplate.serviceTypes converted to ServiceTypes


attributeSetTemplates

public EntryRep[] attributeSetTemplates
ServiceTemplate.attributeSetTemplates converted to EntryReps

Constructor Detail

Template

public Template(ServiceTemplate tmpl)
         throws RemoteException
Converts a ServiceTemplate to a Template. Any exception that results is bundled up into a MarshalException.

Throws:
RemoteException
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.