public Object clone() { ContentControllerInterceptorSCAIntent clone = new ContentControllerInterceptorSCAIntent(getFcItfDelegate()); initFcClone(clone); clone.initIntentHandlersMap(METHODS); return clone; }
private ContentControllerInterceptorSCAIntent(Object obj) { setFcItfDelegate(obj); }
public java.lang.Object[] getFcInternalInterfaces() { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[2]); try { if( handlers.size() == 0 ) { java.lang.Object[] ret = impl.getFcInternalInterfaces(); return ret; } else { org.objectweb.fractal.api.Component comp = getFcComponent(); org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<org.objectweb.fractal.api.control.ContentController> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,comp,itf,impl,METHODS[2]); java.lang.Object[] ret = (java.lang.Object[]) ijp.proceed(); return ret; } } catch( Throwable t ) { if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
public org.objectweb.fractal.api.Component[] getFcSubComponents() { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[1]); try { if( handlers.size() == 0 ) { org.objectweb.fractal.api.Component[] ret = impl.getFcSubComponents(); return ret; } else { org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<org.objectweb.fractal.api.control.ContentController> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,fcComp,itf,impl,METHODS[1]); org.objectweb.fractal.api.Component[] ret = (org.objectweb.fractal.api.Component[]) ijp.proceed(); return ret; } } catch( Throwable t ) { if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
intercept = new org.objectweb.fractal.api.control.ContentControllerInterceptorSCAIntent(); ic.controllers.add(intercept); ((org.objectweb.fractal.julia.Interceptor)intercept).setFcItfDelegate(ctrl);
public void initFcController(org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { super.initFcController(ic); initIntentHandlersMap(METHODS); }
public org.objectweb.fractal.api.Component[] getFcSubComponents() { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[1]); try { if( handlers.size() == 0 ) { org.objectweb.fractal.api.Component[] ret = impl.getFcSubComponents(); return ret; } else { org.objectweb.fractal.api.Component comp = getFcComponent(); org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<org.objectweb.fractal.api.control.ContentController> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,comp,itf,impl,METHODS[1]); org.objectweb.fractal.api.Component[] ret = (org.objectweb.fractal.api.Component[]) ijp.proceed(); return ret; } } catch( Throwable t ) { if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
public java.lang.Object[] getFcInternalInterfaces() { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[3]); try { if( handlers.size() == 0 ) { java.lang.Object[] ret = impl.getFcInternalInterfaces(); return ret; } else { org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<org.objectweb.fractal.api.control.ContentController> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,fcComp,itf,impl,METHODS[3]); java.lang.Object[] ret = (java.lang.Object[]) ijp.proceed(); return ret; } } catch( Throwable t ) { if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
Object ctrl = null; ctrl = getFcController(ic,content, org.objectweb.fractal.api.control.ContentController .class); intercept = new org.objectweb.fractal.api.control.ContentControllerInterceptorSCAIntent(); ic.controllers.add(intercept); ((org.objectweb.fractal.julia.Interceptor)intercept).setFcItfDelegate(ctrl);
public void initFcController(org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { super.initFcController(ic); initIntentHandlersMap(METHODS); }
public Object clone() { ContentControllerInterceptorSCAIntent clone = new ContentControllerInterceptorSCAIntent(getFcItfDelegate()); initFcClone(clone); clone.initIntentHandlersMap(METHODS); return clone; }
public void removeFcSubComponent(final org.objectweb.fractal.api.Component arg0) throws org.objectweb.fractal.api.control.IllegalContentException,org.objectweb.fractal.api.control.IllegalLifeCycleException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[4]); try { if( handlers.size() == 0 ) { impl.removeFcSubComponent(arg0); } else { org.objectweb.fractal.api.Component comp = getFcComponent(); org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<org.objectweb.fractal.api.control.ContentController> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,comp,itf,impl,METHODS[4],(Object)arg0); ijp.proceed(); Object ret = null; } } catch( Throwable t ) { if( t instanceof org.objectweb.fractal.api.control.IllegalContentException ) { throw (org.objectweb.fractal.api.control.IllegalContentException) 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); } }
public java.lang.Object getFcInternalInterface(final java.lang.String arg0) throws org.objectweb.fractal.api.NoSuchInterfaceException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[0]); try { if( handlers.size() == 0 ) { java.lang.Object ret = impl.getFcInternalInterface(arg0); return ret; } else { org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<org.objectweb.fractal.api.control.ContentController> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,fcComp,itf,impl,METHODS[0],(Object)arg0); java.lang.Object ret = ijp.proceed(); return ret; } } catch( Throwable t ) { if( t instanceof org.objectweb.fractal.api.NoSuchInterfaceException ) { throw (org.objectweb.fractal.api.NoSuchInterfaceException) t; } if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
(( org.ow2.frascati.tinfi.TinfiComponentInterceptor )intercept).setFcItf(proxy); ctrl = getFcController(ic,content, org.objectweb.fractal.api.control.ContentController .class); intercept = new org.objectweb.fractal.api.control.ContentControllerInterceptorSCAIntent(); ic.controllers.add(intercept); ((org.objectweb.fractal.julia.Interceptor)intercept).setFcItfDelegate(ctrl);
private ContentControllerInterceptorSCAIntent(Object obj) { setFcItfDelegate(obj); }
public java.lang.Object getFcInternalInterface(final java.lang.String arg0) throws org.objectweb.fractal.api.NoSuchInterfaceException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[0]); try { if( handlers.size() == 0 ) { java.lang.Object ret = impl.getFcInternalInterface(arg0); return ret; } else { org.objectweb.fractal.api.Component comp = getFcComponent(); org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<org.objectweb.fractal.api.control.ContentController> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,comp,itf,impl,METHODS[0],(Object)arg0); java.lang.Object ret = ijp.proceed(); return ret; } } catch( Throwable t ) { if( t instanceof org.objectweb.fractal.api.NoSuchInterfaceException ) { throw (org.objectweb.fractal.api.NoSuchInterfaceException) t; } if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
public void addFcSubComponent(final org.objectweb.fractal.api.Component arg0) throws org.objectweb.fractal.api.control.IllegalContentException,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.addFcSubComponent(arg0); } else { org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<org.objectweb.fractal.api.control.ContentController> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,fcComp,itf,impl,METHODS[2],(Object)arg0); ijp.proceed(); Object ret = null; } } catch( Throwable t ) { if( t instanceof org.objectweb.fractal.api.control.IllegalContentException ) { throw (org.objectweb.fractal.api.control.IllegalContentException) 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); } }
Object ctrl = null; ctrl = getFcController(ic,content, org.objectweb.fractal.api.control.ContentController .class); intercept = new org.objectweb.fractal.api.control.ContentControllerInterceptorSCAIntent(); ic.controllers.add(intercept); ((org.objectweb.fractal.julia.Interceptor)intercept).setFcItfDelegate(ctrl);
public void addFcSubComponent(final org.objectweb.fractal.api.Component arg0) throws org.objectweb.fractal.api.control.IllegalContentException,org.objectweb.fractal.api.control.IllegalLifeCycleException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[3]); try { if( handlers.size() == 0 ) { impl.addFcSubComponent(arg0); } else { org.objectweb.fractal.api.Component comp = getFcComponent(); org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<org.objectweb.fractal.api.control.ContentController> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,comp,itf,impl,METHODS[3],(Object)arg0); ijp.proceed(); Object ret = null; } } catch( Throwable t ) { if( t instanceof org.objectweb.fractal.api.control.IllegalContentException ) { throw (org.objectweb.fractal.api.control.IllegalContentException) 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); } }
public void removeFcSubComponent(final org.objectweb.fractal.api.Component arg0) throws org.objectweb.fractal.api.control.IllegalContentException,org.objectweb.fractal.api.control.IllegalLifeCycleException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[4]); try { if( handlers.size() == 0 ) { impl.removeFcSubComponent(arg0); } else { org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<org.objectweb.fractal.api.control.ContentController> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,fcComp,itf,impl,METHODS[4],(Object)arg0); ijp.proceed(); Object ret = null; } } catch( Throwable t ) { if( t instanceof org.objectweb.fractal.api.control.IllegalContentException ) { throw (org.objectweb.fractal.api.control.IllegalContentException) 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); } }