jrunx.kernel.remote
Class ServiceReference

java.lang.Object
  |
  +--javax.naming.Reference
        |
        +--jrunx.kernel.remote.ServiceReference
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class ServiceReference
extends javax.naming.Reference

The Reference that RemoteServices provide or themselves when they are bound to a naming service. JNDI treats Referenceable objects in a special manner. It calls the getReference() method on the Referenceable and binds the resulting Reference to the naming system, and not the entire Referenceable. The ServiceReferences in turn can be reconstructed into Services through the ServiceObjectFactory.

Author:
PS Neville
See Also:
Serialized Form

Field Summary
 ServiceAdapter localService
           
static java.lang.String OBJNAME_ADDR_TYPE
           
static java.lang.String SERVERNAME_ADDR_TYPE
           
static java.lang.String SVC_SCOPE_ADDR_TYPE
           
static java.lang.String SVC_SERVER_SCOPE
           
static java.lang.String SVC_SHARED_SCOPE
           
 
Fields inherited from class javax.naming.Reference
addrs, classFactory, classFactoryLocation, className
 
Constructor Summary
ServiceReference(ServiceAdapter svc)
           
 
Methods inherited from class javax.naming.Reference
add, add, clear, clone, equals, get, get, getAll, getClassName, getFactoryClassLocation, getFactoryClassName, hashCode, remove, size, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

OBJNAME_ADDR_TYPE

public static final java.lang.String OBJNAME_ADDR_TYPE

SERVERNAME_ADDR_TYPE

public static final java.lang.String SERVERNAME_ADDR_TYPE

SVC_SCOPE_ADDR_TYPE

public static final java.lang.String SVC_SCOPE_ADDR_TYPE

SVC_SHARED_SCOPE

public static final java.lang.String SVC_SHARED_SCOPE

SVC_SERVER_SCOPE

public static final java.lang.String SVC_SERVER_SCOPE

localService

public transient ServiceAdapter localService
Constructor Detail

ServiceReference

public ServiceReference(ServiceAdapter svc)
                 throws java.lang.Exception


Copyright � 2002 Macromedia Corporation. All Rights Reserved.