org.openide
Class ServiceType.Handle

java.lang.Object
  extended by org.openide.ServiceType.Handle
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ServiceType

Deprecated. The prefered way to register and lookup services is now Lookup as described in services registration and lookup page.

@Deprecated
public static final class ServiceType.Handle
extends java.lang.Object
implements java.io.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

Field Summary
(package private) static long serialVersionUID
          Deprecated. generated Serialized Version UID
 
Constructor Summary
ServiceType.Handle(ServiceType ex)
          Deprecated. Create a new handle for an service.
 
Method Summary
 ServiceType getServiceType()
          Deprecated. Find the service for this handle.
 java.lang.String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
Deprecated. 
generated Serialized Version UID

See Also:
Constant Field Values
Constructor Detail

ServiceType.Handle

public ServiceType.Handle(ServiceType ex)
Deprecated. 
Create a new handle for an service.

Parameters:
ex - the service to store a handle for
Method Detail

getServiceType

public ServiceType getServiceType()
Deprecated. 
Find the service for this handle.

Returns:
the reconstituted service type, or null in case of problems

toString

public java.lang.String toString()
Deprecated. 
Overrides:
toString in class java.lang.Object