All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ow2.frascati.tinfi.control.component.ReconfigurableComponentContextFcItf Maven / Gradle / Ivy

There is a newer version: 2.7
Show newest version
/*
 * Generated by: org.objectweb.fractal.juliac.proxy.InterfaceImplementationClassGenerator
 * on: Fri Jan 15 16:55:10 CET 2010
 */

package org.ow2.frascati.tinfi.control.component;


public class ReconfigurableComponentContextFcItf
extends org.objectweb.fractal.julia.BasicComponentInterface
implements org.ow2.frascati.tinfi.control.component.ReconfigurableComponentContext {

  private org.ow2.frascati.tinfi.control.component.ReconfigurableComponentContext impl;
  public ReconfigurableComponentContextFcItf()  {
  }

  public ReconfigurableComponentContextFcItf(org.objectweb.fractal.api.Component component,String s,org.objectweb.fractal.api.Type type,boolean flag,Object obj)  {
    super(component,s,type,flag,obj);
  }

  public Object getFcItfImpl()  {
    return impl;
  }

  public void setFcItfImpl(Object obj)  {
    impl = (org.ow2.frascati.tinfi.control.component.ReconfigurableComponentContext)obj;
  }

  public org.objectweb.fractal.api.Component getFcComponent()  {
    if( impl == null )
      throw new NullPointerException("Trying to invoke a method on a client interface, or on a server interface whose complementary interface is not bound.");
    org.objectweb.fractal.api.Component ret = impl.getFcComponent();
    return ret;
  }

  public  B getProperty(final java.lang.Class arg0,final java.lang.String arg1)  {
    if( impl == null )
      throw new NullPointerException("Trying to invoke a method on a client interface, or on a server interface whose complementary interface is not bound.");
    B ret = impl.getProperty(arg0,arg1);
    return ret;
  }

  public > R cast(final B arg0) throws java.lang.IllegalArgumentException  {
    if( impl == null )
      throw new NullPointerException("Trying to invoke a method on a client interface, or on a server interface whose complementary interface is not bound.");
    R ret = impl.cast(arg0);
    return ret;
  }

  public  B getService(final java.lang.Class arg0,final java.lang.String arg1)  {
    if( impl == null )
      throw new NullPointerException("Trying to invoke a method on a client interface, or on a server interface whose complementary interface is not bound.");
    B ret = impl.getService(arg0,arg1);
    return ret;
  }

  public  org.osoa.sca.ServiceReference getServiceReference(final java.lang.Class arg0,final java.lang.String arg1)  {
    if( impl == null )
      throw new NullPointerException("Trying to invoke a method on a client interface, or on a server interface whose complementary interface is not bound.");
    org.osoa.sca.ServiceReference ret = impl.getServiceReference(arg0,arg1);
    return ret;
  }

  public java.lang.String getURI()  {
    if( impl == null )
      throw new NullPointerException("Trying to invoke a method on a client interface, or on a server interface whose complementary interface is not bound.");
    java.lang.String ret = impl.getURI();
    return ret;
  }

  public  org.osoa.sca.ServiceReference createSelfReference(final java.lang.Class arg0)  {
    if( impl == null )
      throw new NullPointerException("Trying to invoke a method on a client interface, or on a server interface whose complementary interface is not bound.");
    org.osoa.sca.ServiceReference ret = impl.createSelfReference(arg0);
    return ret;
  }

  public  org.osoa.sca.ServiceReference createSelfReference(final java.lang.Class arg0,final java.lang.String arg1)  {
    if( impl == null )
      throw new NullPointerException("Trying to invoke a method on a client interface, or on a server interface whose complementary interface is not bound.");
    org.osoa.sca.ServiceReference ret = impl.createSelfReference(arg0,arg1);
    return ret;
  }

  public org.osoa.sca.RequestContext getRequestContext()  {
    if( impl == null )
      throw new NullPointerException("Trying to invoke a method on a client interface, or on a server interface whose complementary interface is not bound.");
    org.osoa.sca.RequestContext ret = impl.getRequestContext();
    return ret;
  }

}