/** * @see org.objectweb.fractal.julia.control.lifecycle.OptimizedLifeCycleControllerMixin#getSExtLifeCycleControllers(org.objectweb.fractal.api.Interface,java.util.List,java.util.Set) */ private void getSExtLifeCycleControllers(final org.objectweb.fractal.api.Interface serverItf, final java.util.List clccList, final java.util.Set visited) throws org.objectweb.fractal.api.control.IllegalLifeCycleException { java.lang.Object[] comps; try { comps = org.objectweb.fractal.julia.control.binding.Util.getFcPotentialClientsOf(serverItf).toArray(); } catch (java.lang.Exception e) { throw new org.objectweb.fractal.julia.control.lifecycle.ChainedIllegalLifeCycleException(e, serverItf.getFcItfOwner(), "Cannot get the LifeCycleCoordinator interfaces"); } for (int i = 0; i < (comps.length); ++i) { org.objectweb.fractal.api.Component comp = ((org.objectweb.fractal.api.Component) (comps[i])); org.objectweb.fractal.api.Interface[] clientItfs; try { java.util.List l = org.objectweb.fractal.julia.control.binding.Util.getFcClientItfsBoundTo(comp, serverItf); clientItfs = ((org.objectweb.fractal.api.Interface[]) (l.toArray(new org.objectweb.fractal.api.Interface[l.size()]))); } catch (java.lang.Exception e) { throw new org.objectweb.fractal.julia.control.lifecycle.ChainedIllegalLifeCycleException(e, serverItf.getFcItfOwner(), "Cannot get the LifeCycleCoordinator interfaces"); } for (int j = 0; j < (clientItfs.length); ++j) { getCExtLifeCycleControllers(clientItfs[j], clccList, visited); } } }
/** * @see org.objectweb.fractal.julia.control.lifecycle.OptimizedLifeCycleControllerMixin#getSExtLifeCycleControllers(org.objectweb.fractal.api.Interface,java.util.List,java.util.Set) */ private void getSExtLifeCycleControllers(final org.objectweb.fractal.api.Interface serverItf, final java.util.List clccList, final java.util.Set visited) throws org.objectweb.fractal.api.control.IllegalLifeCycleException { java.lang.Object[] comps; try { comps = org.objectweb.fractal.julia.control.binding.Util.getFcPotentialClientsOf(serverItf).toArray(); } catch (java.lang.Exception e) { throw new org.objectweb.fractal.julia.control.lifecycle.ChainedIllegalLifeCycleException(e, serverItf.getFcItfOwner(), "Cannot get the LifeCycleCoordinator interfaces"); } for (int i = 0; i < (comps.length); ++i) { org.objectweb.fractal.api.Component comp = ((org.objectweb.fractal.api.Component) (comps[i])); org.objectweb.fractal.api.Interface[] clientItfs; try { java.util.List l = org.objectweb.fractal.julia.control.binding.Util.getFcClientItfsBoundTo(comp, serverItf); clientItfs = ((org.objectweb.fractal.api.Interface[]) (l.toArray(new org.objectweb.fractal.api.Interface[l.size()]))); } catch (java.lang.Exception e) { throw new org.objectweb.fractal.julia.control.lifecycle.ChainedIllegalLifeCycleException(e, serverItf.getFcItfOwner(), "Cannot get the LifeCycleCoordinator interfaces"); } for (int j = 0; j < (clientItfs.length); ++j) { getCExtLifeCycleControllers(clientItfs[j], clccList, visited); } } }