1 16 package org.apache.cocoon.portal.event.subscriber.impl; 17 18 import org.apache.cocoon.portal.PortalService; 19 import org.apache.cocoon.portal.aspect.Aspectalizable; 20 import org.apache.cocoon.portal.event.Receiver; 21 import org.apache.cocoon.portal.event.impl.ChangeAspectDataEvent; 22 23 29 public final class DefaultChangeAspectDataEventSubscriber 30 implements Receiver { 31 32 public DefaultChangeAspectDataEventSubscriber() { 33 } 35 36 39 public void inform(ChangeAspectDataEvent event, PortalService service) { 40 final Aspectalizable target = event.getAspectalizable(); 41 target.setAspectData(event.getAspectName(), event.getData()); 42 } 43 44 } 45 | Popular Tags |