com.sun.jini.phoenix
Class Activation.RegistryImpl

java.lang.Object
  extended by com.sun.jini.phoenix.AbstractRegistry
      extended by com.sun.jini.phoenix.Activation.RegistryImpl
All Implemented Interfaces:
Registry, Remote
Enclosing class:
Activation

 class Activation.RegistryImpl
extends AbstractRegistry

A read-only registry containing a single entry for the system.


Field Summary
private  String NAME
          The name of the single entry
 
Fields inherited from interface java.rmi.registry.Registry
REGISTRY_PORT
 
Constructor Summary
Activation.RegistryImpl()
           
 
Method Summary
 void bind(String name, Remote obj)
          Always throws SecurityException.
 String[] list()
          Returns a list containing the single name.
 Remote lookup(String name)
          Returns the single object if the specified name matches the single name, otherwise throws NotBoundException.
 void rebind(String name, Remote obj)
          Always throws SecurityException.
 void unbind(String name)
          Always throws SecurityException.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

private final String NAME
The name of the single entry

Constructor Detail

Activation.RegistryImpl

Activation.RegistryImpl()
Method Detail

lookup

public Remote lookup(String name)
              throws NotBoundException
Returns the single object if the specified name matches the single name, otherwise throws NotBoundException.

Throws:
NotBoundException

bind

public void bind(String name,
                 Remote obj)
Always throws SecurityException.


unbind

public void unbind(String name)
Always throws SecurityException.


rebind

public void rebind(String name,
                   Remote obj)
Always throws SecurityException.


list

public String[] list()
Returns a list containing the single name.



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