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

org.ow2.petals.microkernel.api.communication.jndi.client.JNDIServiceFcItf 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:46 GMT+01:00 2016
 */

package org.ow2.petals.microkernel.api.communication.jndi.client;


public class JNDIServiceFcItf
extends org.objectweb.fractal.julia.BasicComponentInterface
implements org.ow2.petals.microkernel.api.communication.jndi.client.JNDIService {

  private org.ow2.petals.microkernel.api.communication.jndi.client.JNDIService impl;
  public JNDIServiceFcItf()  {
  }

  public JNDIServiceFcItf(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.api.communication.jndi.client.JNDIService)obj;
  }

  public javax.naming.InitialContext getInitialContext() throws javax.naming.NamingException  {
    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.naming.InitialContext ret = impl.getInitialContext();
    return ret;
  }

  public javax.naming.Context getUsersContext() throws javax.naming.NamingException  {
    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.naming.Context ret = impl.getUsersContext();
    return ret;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy