com.sun.jini.reggie
Class Template

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

 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.

Field Summary
 EntryRep[] attributeSetTemplates
          ServiceTemplate.attributeSetTemplates converted to EntryReps
private static long serialVersionUID
           
 ServiceID serviceID
          ServiceTemplate.serviceID
 ServiceType[] serviceTypes
          ServiceTemplate.serviceTypes converted to ServiceTypes
 
Constructor Summary
Template(ServiceTemplate tmpl)
          Converts a ServiceTemplate to a Template.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

serviceID

public ServiceID serviceID
ServiceTemplate.serviceID


serviceTypes

public 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


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.