1 31 package org.objectweb.proactive.core.component.controller; 32 33 import java.io.Serializable ; 34 35 import org.apache.log4j.Logger; 36 37 import org.objectweb.fractal.api.Component; 38 39 import org.objectweb.proactive.core.component.ComponentParameters; 40 import org.objectweb.proactive.core.component.Constants; 41 42 43 50 public class ProActiveComponentParametersController extends ProActiveController 51 implements Serializable , ComponentParametersController { 52 protected static Logger logger = Logger.getLogger(ProActiveComponentParametersController.class.getName()); 53 private ComponentParameters componentParameters; 54 55 59 public ProActiveComponentParametersController(Component owner) { 60 super(owner, Constants.COMPONENT_PARAMETERS_CONTROLLER); 61 } 62 63 66 public ComponentParameters getComponentParameters() { 67 return componentParameters; 68 } 69 70 73 public void setComponentParameters(ComponentParameters componentParameters) { 74 this.componentParameters = componentParameters; 75 } 76 77 80 public void setComponentName(String componentName) { 81 componentParameters.setName(componentName); 82 } 83 84 } | Popular Tags |