public Object clone() { ComponentContextInterceptorSCAIntent clone = new ComponentContextInterceptorSCAIntent(getFcItfDelegate()); initFcClone(clone); clone.initIntentHandlersMap(METHODS); return clone; }
private ComponentContextInterceptorSCAIntent(Object obj) { setFcItfDelegate(obj); }
public <B>org.oasisopen.sca.ServiceReference<B> createSelfReference(final java.lang.Class<B> arg0) throws java.lang.IllegalArgumentException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[7]); try { if( handlers.size() == 0 ) { org.oasisopen.sca.ServiceReference<B> ret = impl.<B>createSelfReference(arg0); return ret; } else { org.objectweb.fractal.api.Component comp = getFcComponent(); org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<org.oasisopen.sca.ComponentContext> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,comp,itf,impl,METHODS[7],(Object)arg0); org.oasisopen.sca.ServiceReference<B> ret = (org.oasisopen.sca.ServiceReference<B>) ijp.proceed(); return ret; } } catch( Throwable t ) { if( t instanceof java.lang.IllegalArgumentException ) { throw (java.lang.IllegalArgumentException) t; } if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
public org.oasisopen.sca.RequestContext getRequestContext() { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[5]); try { if( handlers.size() == 0 ) { org.oasisopen.sca.RequestContext ret = impl.getRequestContext(); return ret; } else { org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<org.oasisopen.sca.ComponentContext> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,fcComp,itf,impl,METHODS[5]); org.oasisopen.sca.RequestContext ret = (org.oasisopen.sca.RequestContext) 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.oasisopen.sca.ComponentContextInterceptorSCAIntent(); 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 <B>org.oasisopen.sca.ServiceReference<B> createSelfReference(final java.lang.Class<B> arg0,final java.lang.String arg1) throws java.lang.IllegalArgumentException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[8]); try { if( handlers.size() == 0 ) { org.oasisopen.sca.ServiceReference<B> ret = impl.<B>createSelfReference(arg0,arg1); return ret; } else { org.objectweb.fractal.api.Component comp = getFcComponent(); org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<org.oasisopen.sca.ComponentContext> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,comp,itf,impl,METHODS[8],(Object)arg0,(Object)arg1); org.oasisopen.sca.ServiceReference<B> ret = (org.oasisopen.sca.ServiceReference<B>) ijp.proceed(); return ret; } } catch( Throwable t ) { if( t instanceof java.lang.IllegalArgumentException ) { throw (java.lang.IllegalArgumentException) t; } if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
public java.lang.String getURI() { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[3]); try { if( handlers.size() == 0 ) { java.lang.String ret = impl.getURI(); return ret; } else { org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<org.oasisopen.sca.ComponentContext> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,fcComp,itf,impl,METHODS[3]); java.lang.String ret = (java.lang.String) 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.oasisopen.sca.ComponentContextInterceptorSCAIntent(); 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() { ComponentContextInterceptorSCAIntent clone = new ComponentContextInterceptorSCAIntent(getFcItfDelegate()); initFcClone(clone); clone.initIntentHandlersMap(METHODS); return clone; }
public <B>B getService(final java.lang.Class<B> arg0,final java.lang.String arg1) throws java.lang.IllegalArgumentException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[2]); try { if( handlers.size() == 0 ) { B ret = impl.<B>getService(arg0,arg1); return ret; } else { org.objectweb.fractal.api.Component comp = getFcComponent(); org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<org.oasisopen.sca.ComponentContext> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,comp,itf,impl,METHODS[2],(Object)arg0,(Object)arg1); B ret = (B) ijp.proceed(); return ret; } } catch( Throwable t ) { if( t instanceof java.lang.IllegalArgumentException ) { throw (java.lang.IllegalArgumentException) t; } if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
public <B>B getService(final java.lang.Class<B> arg0,final java.lang.String arg1) throws java.lang.IllegalArgumentException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[2]); try { if( handlers.size() == 0 ) { B ret = impl.<B>getService(arg0,arg1); return ret; } else { org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<org.oasisopen.sca.ComponentContext> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,fcComp,itf,impl,METHODS[2],(Object)arg0,(Object)arg1); B ret = (B) ijp.proceed(); return ret; } } catch( Throwable t ) { if( t instanceof java.lang.IllegalArgumentException ) { throw (java.lang.IllegalArgumentException) 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.oasisopen.sca.ComponentContext .class); intercept = new org.oasisopen.sca.ComponentContextInterceptorSCAIntent(); ic.controllers.add(intercept); ((org.objectweb.fractal.julia.Interceptor)intercept).setFcItfDelegate(ctrl);
private ComponentContextInterceptorSCAIntent(Object obj) { setFcItfDelegate(obj); }
public <B>java.util.Collection<B> getServices(final java.lang.Class<B> arg0,final java.lang.String arg1) throws java.lang.IllegalArgumentException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[3]); try { if( handlers.size() == 0 ) { java.util.Collection<B> ret = impl.<B>getServices(arg0,arg1); return ret; } else { org.objectweb.fractal.api.Component comp = getFcComponent(); org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<org.oasisopen.sca.ComponentContext> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,comp,itf,impl,METHODS[3],(Object)arg0,(Object)arg1); java.util.Collection<B> ret = (java.util.Collection<B>) ijp.proceed(); return ret; } } catch( Throwable t ) { if( t instanceof java.lang.IllegalArgumentException ) { throw (java.lang.IllegalArgumentException) t; } if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
public <B>org.oasisopen.sca.ServiceReference<B> getServiceReference(final java.lang.Class<B> arg0,final java.lang.String arg1) throws java.lang.IllegalArgumentException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[9]); try { if( handlers.size() == 0 ) { org.oasisopen.sca.ServiceReference<B> ret = impl.<B>getServiceReference(arg0,arg1); return ret; } else { org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<org.oasisopen.sca.ComponentContext> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,fcComp,itf,impl,METHODS[9],(Object)arg0,(Object)arg1); org.oasisopen.sca.ServiceReference<B> ret = (org.oasisopen.sca.ServiceReference<B>) ijp.proceed(); return ret; } } catch( Throwable t ) { if( t instanceof java.lang.IllegalArgumentException ) { throw (java.lang.IllegalArgumentException) 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.oasisopen.sca.ComponentContext .class); intercept = new org.oasisopen.sca.ComponentContextInterceptorSCAIntent(); ic.controllers.add(intercept); ((org.objectweb.fractal.julia.Interceptor)intercept).setFcItfDelegate(ctrl);
public <B>java.util.Collection<org.oasisopen.sca.ServiceReference<B>> getServiceReferences(final java.lang.Class<B> arg0,final java.lang.String arg1) throws java.lang.IllegalArgumentException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[6]); try { if( handlers.size() == 0 ) { java.util.Collection<org.oasisopen.sca.ServiceReference<B>> ret = impl.<B>getServiceReferences(arg0,arg1); return ret; } else { org.objectweb.fractal.api.Component comp = getFcComponent(); org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<org.oasisopen.sca.ComponentContext> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,comp,itf,impl,METHODS[6],(Object)arg0,(Object)arg1); java.util.Collection<org.oasisopen.sca.ServiceReference<B>> ret = (java.util.Collection<org.oasisopen.sca.ServiceReference<B>>) ijp.proceed(); return ret; } } catch( Throwable t ) { if( t instanceof java.lang.IllegalArgumentException ) { throw (java.lang.IllegalArgumentException) t; } if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
public <B>org.oasisopen.sca.ServiceReference<B> cast(final B arg0) throws java.lang.IllegalArgumentException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[1]); try { if( handlers.size() == 0 ) { org.oasisopen.sca.ServiceReference<B> ret = impl.<B>cast(arg0); return ret; } else { org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<org.oasisopen.sca.ComponentContext> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,fcComp,itf,impl,METHODS[1],(Object)arg0); org.oasisopen.sca.ServiceReference<B> ret = (org.oasisopen.sca.ServiceReference<B>) ijp.proceed(); return ret; } } catch( Throwable t ) { if( t instanceof java.lang.IllegalArgumentException ) { throw (java.lang.IllegalArgumentException) t; } if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }