public T get() { synchronized (_lc) { if (_lc.fcState != 2) { _lc.incrementFcInvocationCounter(); } else { _lc.fcInvocationCounter++; } } try { fr.midix.services.common.Provider<T> impl = pushFcAndGet("database", fr.midix.services.common.Provider.class, this); try { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[0]); try { if (handlers.size() == 0) { T ret = impl.get(); return ret; } else { org.objectweb.fractal.api.Component comp = getFcComponent(); org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<fr.midix.services.common.Provider> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers, comp, itf, impl, METHODS[0]); T ret = (T) ijp.proceed(); return ret; } } catch (Throwable t) { if (t instanceof RuntimeException) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } } finally { releaseFcAndPop(impl, false); } } finally { synchronized (_lc) { if (_lc.fcState != 2) { _lc.decrementFcInvocationCounter(); } else { _lc.fcInvocationCounter--; } } } }
public void setCarParkInfo(final eu.choreos.CarParkEntry arg0) { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[0]); try { if (handlers.size() == 0) { impl.setCarParkInfo(arg0); } else { org.objectweb.fractal.api.Component comp = getFcComponent(); org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<eu.choreos.api.InteractiveGuidePortType> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers, comp, itf, impl, METHODS[0], (Object) arg0); ijp.proceed(); Object ret = null; } } catch (Throwable t) { if (t instanceof RuntimeException) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
public java.lang.String calculateLocations(final java.lang.String arg0) { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[2]); try { if (handlers.size() == 0) { java.lang.String ret = impl.calculateLocations(arg0); return ret; } else { org.objectweb.fractal.api.Component comp = getFcComponent(); org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<eu.choreos.api.InteractiveGuidePortType> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers, comp, itf, impl, METHODS[2], (Object) arg0); 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); } }