Package org.objectweb.fractal.api

Examples of org.objectweb.fractal.api.NoSuchInterfaceException


   
    public Object lookupFc(String id) throws NoSuchInterfaceException {
        if (id.equals("s"))
            return this.service;
       
        throw new NoSuchInterfaceException((("Client interface \'" + id) + "\' is undefined."));
    }
View Full Code Here


    public void bindFc(String id, Object ref) throws NoSuchInterfaceException {
        if (id.equals("s")) {
            this.service = ((Service)(ref));
            return ;
        }
        throw new NoSuchInterfaceException((("Client interface \'" + id) + "\' is undefined."));
    }
View Full Code Here

    public void unbindFc(String id) throws NoSuchInterfaceException {
        if (id.equals("s")) {
            this.service = null;
            return ;
        }
        throw new NoSuchInterfaceException((("Client interface \'" + id) + "\' is undefined."));
    }
View Full Code Here

  @Override
  public void bindFc(String itfName, Object itf)
      throws NoSuchInterfaceException {
    if(itfName.compareTo("sc") == 0)
      sc = (SkandiumComponent) itf;
    else throw new NoSuchInterfaceException(itfName);
  }
View Full Code Here

  @Override
  public Object lookupFc(String itfName) throws NoSuchInterfaceException {
    if(itfName.compareTo("sc") == 0)
      return sc;
    else throw new NoSuchInterfaceException(itfName);
  }
View Full Code Here

  @Override
  public void unbindFc(String itfName) throws NoSuchInterfaceException {
    if(itfName.compareTo("sc") == 0)
      sc = null;
    else throw new NoSuchInterfaceException(itfName);
  }
View Full Code Here

      sct = (SCTransmitter) itf;
    else if(name.compareTo("scr") == 0)
      scr = (SCReceiver) itf;
    else if(name.compareTo("scrr") == 0)
      scrr = (SCResultReceiver) itf;
    else throw new NoSuchInterfaceException(name);
  }
View Full Code Here

      return sct;
    else if(name.compareTo("scr") == 0)
      return scr;
    else if(name.compareTo("scrr") == 0)
      return scrr;
    else throw new NoSuchInterfaceException(name);
  }
View Full Code Here

      sct = null;
    else if(name.compareTo("scr") == 0)
      scr = null;
    else if(name.compareTo("scrr") == 0)
      scrr = null;
    else throw new NoSuchInterfaceException(name);
  }
View Full Code Here

  @Override
  public void bindFc(String itfName, Object itf)
      throws NoSuchInterfaceException {
    if(itfName.compareTo("sc") == 0)
      sc = (SkandiumComponent) itf;
    else throw new NoSuchInterfaceException(itfName);
  }
View Full Code Here

TOP

Related Classes of org.objectweb.fractal.api.NoSuchInterfaceException

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.