org.openide
Class ServiceType.Handle

java.lang.Object
  |
  +--org.openide.ServiceType.Handle
All Implemented Interfaces:
Serializable
Enclosing class:
ServiceType

public static final class ServiceType.Handle
extends Object
implements Serializable

Handle for a service type. This is a serializable class that should be used to store types and to recreate them after deserialization.

See Also:
Serialized Form

Constructor Summary
ServiceType.Handle(ServiceType ex)
          Create a new handle for an service.
 
Method Summary
 ServiceType getServiceType()
          Find the service for this handle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceType.Handle

public ServiceType.Handle(ServiceType ex)
Create a new handle for an service.
Parameters:
ex - the service to store a handle for
Method Detail

getServiceType

public ServiceType getServiceType()
Find the service for this handle.
Returns:
the reconstituted service type, or null in case of problems


Built on February 22 2001.  |  Portions Copyright 1997-2000 Sun Microsystems, Inc. All rights reserved.