1 23 24 package org.objectweb.fractal.julia.conform.components; 25 26 import org.objectweb.fractal.api.control.BindingController; 27 28 import org.objectweb.fractal.julia.conform.components.I; 29 30 public class Z implements BindingController { 31 32 35 private I i; 36 37 public String [] listFc () { 38 return new String [] { "c" }; 39 } 40 41 public Object lookupFc (String s) { 42 if (s.equals("c")) { 43 return i; 44 } 45 return null; 46 } 47 48 public void bindFc (String s, Object o) { 49 if (s.equals("c")) { 50 i = (I)o; 51 } 52 } 53 54 public void unbindFc (String s) { 55 if (s.equals("c")) { 56 i = null; 57 } 58 } 59 } 60 | Popular Tags |