Package java.rmi

Examples of java.rmi.NotBoundException


                return obj.obj;
            }
        }
       
        logger.warning("Failed to look up " + path);
        throw new NotBoundException();
    }
View Full Code Here


        short appId = (Short)xc.getXletProperty("dvb.app.id");
       
        IxcObject ixcObj = new IxcObject(orgId, appId, name, null);
       
        if (!ixcList.contains(ixcObj))
            throw new NotBoundException();
       
        ixcList.remove(ixcObj);
       
        logger.info("Unbound /" + Integer.toString(orgId, 16) + "/" + Integer.toString(appId, 16) + "/" + name);
    }
View Full Code Here

     */
    protected synchronized void doUnbind(String name)
            throws NotBoundException {
        Object proxy = _registry.remove(name);
        if (proxy == null) {
            throw new NotBoundException(name);
        }
    }
View Full Code Here

    ReasonerRegistry registry = HeraklesManager.getReasonerRegistry();
//    registry.bindRemoteReasoners(manager);
   
    if( registry.size() == 0 )
    try {
      throw new NotBoundException( "No reasoner bound." );
    } catch (NotBoundException e) {
      e.printStackTrace();
    }
   
    StrategyConfiguration strategyConfig = HeraklesManager.getStrategyConfiguration();
View Full Code Here

    }

    public void unbind(String name) throws RemoteException, NotBoundException, AccessException {
        Remote rem = remove(name);
        if (rem == null) {
            throw new NotBoundException(name);
        }
    }
View Full Code Here

    }

    public Remote lookup(String name) throws NotBoundException {
        if (name.equals(this.name))
            return object;
        throw new NotBoundException("Not bound: \"" + name + "\" (only " +
                                    "bound name is \"" + this.name + "\")");
    }
View Full Code Here

        }
        Remote ref = (Remote) table.get(name);

        if (ref == null) {
            // rmi.5F=Name {0} is not associated with any remote reference.
            throw new NotBoundException(Messages.getString("rmi.5F", name)); //$NON-NLS-1$

        }
        return ref;
    }
View Full Code Here

        }
        checkAccess("RegistryImpl.unbind"); //$NON-NLS-1$

        if (table.remove(name) == null) {
            // rmi.5F=Name {0} is not associated with any remote reference.
            throw new NotBoundException(Messages.getString("rmi.5F", name)); //$NON-NLS-1$
        }
    }
View Full Code Here

        }
        Remote ref = (Remote) table.get(name);

        if (ref == null) {
            // rmi.5F=Name {0} is not associated with any remote reference.
            throw new NotBoundException(Messages.getString("rmi.5F", name)); //$NON-NLS-1$

        }
        return ref;
    }
View Full Code Here

        }
        checkAccess("RegistryImpl.unbind"); //$NON-NLS-1$

        if (table.remove(name) == null) {
            // rmi.5F=Name {0} is not associated with any remote reference.
            throw new NotBoundException(Messages.getString("rmi.5F", name)); //$NON-NLS-1$
        }
    }
View Full Code Here

TOP

Related Classes of java.rmi.NotBoundException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.