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

org.ow2.petals.microkernel.container.lifecycle.ExtendedComponentLifeCycleFcItf Maven / Gradle / Ivy

There is a newer version: 4.3.0
Show newest version
/*
 * Generated by: org.objectweb.fractal.juliac.proxy.InterfaceImplementationClassGenerator
 * on: Wed Sep 21 08:11:47 GMT+01:00 2016
 */

package org.ow2.petals.microkernel.container.lifecycle;


public class ExtendedComponentLifeCycleFcItf
extends org.objectweb.fractal.julia.BasicComponentInterface
implements org.ow2.petals.microkernel.container.lifecycle.ExtendedComponentLifeCycle {

  private org.ow2.petals.microkernel.container.lifecycle.ExtendedComponentLifeCycle impl;
  public ExtendedComponentLifeCycleFcItf()  {
  }

  public ExtendedComponentLifeCycleFcItf(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.petals.microkernel.container.lifecycle.ExtendedComponentLifeCycle)obj;
  }

  public void stop() throws javax.jbi.JBIException  {
    if ( impl == null )
    {
      throw new java.lang.NullPointerException("Trying to invoke a method on a client or server interface whose complementary interface is not bound.");
    }
    impl.stop();
  }

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

  public void shutDown() throws javax.jbi.JBIException  {
    if ( impl == null )
    {
      throw new java.lang.NullPointerException("Trying to invoke a method on a client or server interface whose complementary interface is not bound.");
    }
    impl.shutDown();
  }

  public void setForcedState(final boolean arg0)  {
    if ( impl == null )
    {
      throw new java.lang.NullPointerException("Trying to invoke a method on a client or server interface whose complementary interface is not bound.");
    }
    impl.setForcedState(arg0);
  }

  public void start() throws javax.jbi.JBIException  {
    if ( impl == null )
    {
      throw new java.lang.NullPointerException("Trying to invoke a method on a client or server interface whose complementary interface is not bound.");
    }
    impl.start();
  }

  public javax.management.ObjectName getExtensionMBeanName() throws javax.jbi.JBIException  {
    if ( impl == null )
    {
      throw new java.lang.NullPointerException("Trying to invoke a method on a client or server interface whose complementary interface is not bound.");
    }
    javax.management.ObjectName ret = impl.getExtensionMBeanName();
    return ret;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy