void instantiate() throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { clientBC.bindFc(clientItfName, server); } }
public void bindFc(final java.lang.String arg0,final java.lang.Object arg1) throws org.objectweb.fractal.api.NoSuchInterfaceException,org.objectweb.fractal.api.control.IllegalBindingException,org.objectweb.fractal.api.control.IllegalLifeCycleException { 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.bindFc(arg0,arg1); }
public void bindFc(final java.lang.String arg0,final java.lang.Object arg1) throws org.objectweb.fractal.api.NoSuchInterfaceException,org.objectweb.fractal.api.control.IllegalBindingException,org.objectweb.fractal.api.control.IllegalLifeCycleException { 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.bindFc(arg0,arg1); }
public void bindFc(final java.lang.String arg0,final java.lang.Object arg1) throws org.objectweb.fractal.api.NoSuchInterfaceException,org.objectweb.fractal.api.control.IllegalBindingException,org.objectweb.fractal.api.control.IllegalLifeCycleException { 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.bindFc(arg0,arg1); }
public void bindFc (final String clientItfName, final Object serverItf) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { if (fcContent == this) { // case of merge...AndContent options ((ContentBindingController)this).bindFcContent(clientItfName, serverItf); } else { ((BindingController)fcContent).bindFc(clientItfName, serverItf); } }
/** * @see org.objectweb.fractal.julia.control.binding.ContainerBindingControllerMixin#bindFc(java.lang.String,java.lang.Object) */ private void bindFc$3(final java.lang.String clientItfName, final java.lang.Object serverItf) throws org.objectweb.fractal.api.NoSuchInterfaceException, org.objectweb.fractal.api.control.IllegalBindingException, org.objectweb.fractal.api.control.IllegalLifeCycleException { if ((fcContent) == (this)) { ((org.objectweb.fractal.julia.control.binding.ContentBindingController) (this)).bindFcContent(clientItfName, serverItf); }else { ((org.objectweb.fractal.api.control.BindingController) (fcContent)).bindFc(clientItfName, serverItf); } }
public void bindFc (final String clientItfName, final Object serverItf) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { if (fcContent == this) { // case of merge...AndContent options ((ContentBindingController)this).bindFcContent(clientItfName, serverItf); } else { ((BindingController)fcContent).bindFc(clientItfName, serverItf); } }
cBindingController.bindFc((listOfBindings.get(i)) .getClientInterfaceName(), (listOfBindings.get(i)) .getServerInterface());
public void bindFc(final InterfaceType clientItfType, final String clientItfName, final Object serverItf) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { // first call super implementation. _super_bindFc(clientItfType, clientItfName, serverItf); final Interface innerItf = fcExportedInterfaces.get(clientItfType .getFcItfName()); if (innerItf != null) { // the interface correspond to an exported collection interface. final Object internalItf = Fractal.getContentController(_this_weaveableC) .getFcInternalInterface(clientItfName); final String suffix = clientItfName.substring(clientItfType .getFcItfName().length()); getBindingController(innerItf.getFcItfOwner()).bindFc( innerItf.getFcItfName() + suffix, internalItf); } }
cBindingController.bindFc((listOfBindings.get(i)).getClientInterfaceName(), (listOfBindings.get(i)).getServerInterface());
public void bindFc(final java.lang.String arg0,final java.lang.Object arg1) throws org.objectweb.fractal.api.NoSuchInterfaceException,org.objectweb.fractal.api.control.IllegalBindingException,org.objectweb.fractal.api.control.IllegalLifeCycleException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[2]); try { if( handlers.size() == 0 ) { impl.bindFc(arg0,arg1); } else { org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<org.objectweb.fractal.api.control.BindingController> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,fcComp,itf,impl,METHODS[2],(Object)arg0,(Object)arg1); ijp.proceed(); Object ret = null; } } catch( Throwable t ) { if( t instanceof org.objectweb.fractal.api.NoSuchInterfaceException ) { throw (org.objectweb.fractal.api.NoSuchInterfaceException) t; } if( t instanceof org.objectweb.fractal.api.control.IllegalBindingException ) { throw (org.objectweb.fractal.api.control.IllegalBindingException) t; } if( t instanceof org.objectweb.fractal.api.control.IllegalLifeCycleException ) { throw (org.objectweb.fractal.api.control.IllegalLifeCycleException) t; } if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
cBindingController.bindFc(listOfBindings.get(i) .getClientInterfaceName(), (listOfBindings.get(i)) .getServerInterface());
try { if( handlers.size() == 0 ) { impl.bindFc(arg0,arg1);
/** * @see org.objectweb.fractal.julia.control.binding.ContainerBindingControllerMixin#initFcController(org.objectweb.fractal.julia.InitializationContext) */ private void initFcController$2(final org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { fcContent = ic.content; org.objectweb.fractal.api.Component owner = ((org.objectweb.fractal.api.Component) (ic.getOptionalInterface("component"))); if (owner != null) { try { owner = ((org.objectweb.fractal.api.Component) (owner.getFcInterface("component"))); if ((fcContent) == (this)) { if ((this) instanceof org.objectweb.fractal.julia.control.binding.ContentBindingController) { ((org.objectweb.fractal.julia.control.binding.ContentBindingController) (this)).bindFcContent("component", owner); } }else if ((fcContent) instanceof org.objectweb.fractal.api.control.BindingController) { ((org.objectweb.fractal.api.control.BindingController) (fcContent)).bindFc("component", owner); } } catch (java.lang.Exception ignored) { } } initFcController$3(ic); }
/** * Initializes the fields of this mixin and then calls the overriden method. * * @param ic information about the component to which this controller object * belongs. * @throws InstantiationException if the initialization fails. */ public void initFcController (final InitializationContext ic) throws InstantiationException { fcContent = ic.content; Component owner = (Component)ic.getOptionalInterface("component"); if (owner != null) { try { owner = (Component)owner.getFcInterface("component"); if (fcContent == this) { // case of merge...AndContent options if (this instanceof ContentBindingController) { ((ContentBindingController)this).bindFcContent("component", owner); } } else if (fcContent instanceof BindingController) { ((BindingController)fcContent).bindFc("component", owner); } } catch (Exception ignored) { } } _super_initFcController(ic); }
/** * Initializes the fields of this mixin and then calls the overriden method. * * @param ic information about the component to which this controller object * belongs. * @throws InstantiationException if the initialization fails. */ public void initFcController (final InitializationContext ic) throws InstantiationException { fcContent = ic.content; Component owner = (Component)ic.getOptionalInterface("component"); if (owner != null) { try { owner = (Component)owner.getFcInterface("component"); if (fcContent == this) { // case of merge...AndContent options if (this instanceof ContentBindingController) { ((ContentBindingController)this).bindFcContent("component", owner); } } else if (fcContent instanceof BindingController) { ((BindingController)fcContent).bindFc("component", owner); } } catch (Exception ignored) { } } _super_initFcController(ic); }
cBindingController.bindFc(b.getClientInterfaceName(), b.getServerInterface());
BindingController bc = (BindingController) fcContent; Object delegate = interceptor.getFcItfDelegate(); bc.bindFc(clientItfName, delegate);