1 24 25 package org.objectweb.dream; 26 27 import org.objectweb.fractal.api.NoSuchInterfaceException; 28 import org.objectweb.fractal.api.control.IllegalBindingException; 29 import org.objectweb.fractal.api.control.IllegalLifeCycleException; 30 31 34 public abstract class PushPushDreamComponent extends AbstractComponent 35 implements 36 Push 37 { 38 39 40 protected Push outPushItf; 41 42 46 49 public String [] listFc() 50 { 51 return new String []{OUT_PUSH_ITF_NAME}; 52 } 53 54 60 public synchronized void bindFc(String clientItfName, Object serverItf) 61 throws NoSuchInterfaceException, IllegalBindingException, 62 IllegalLifeCycleException 63 { 64 super.bindFc(clientItfName, serverItf); 65 if (clientItfName.equals(OUT_PUSH_ITF_NAME)) 66 { 67 outPushItf = (Push) serverItf; 68 } 69 } 70 } | Popular Tags |