예제 #1
0
 /** {@inheritDoc} */
 public void contextualize(ISystem context) {
   // Set execution context
   this.context = context;
   // Contextualize components (if necessary)
   if (components != null) {
     for (IMutator component : components) component.contextualize(context);
   }
 }
예제 #2
0
 public final void setComponents(IMutator[] components) {
   // Assign components
   this.components = components;
   // Contextualize (if necessary)
   if (context != null) {
     for (IMutator component : components) component.contextualize(context);
   }
 }