/* */ package org.jboss.kernel.plugins.deployment.xml;
/* */
/* */ import javax.xml.namespace.QName;
/* */ import org.jboss.beans.metadata.plugins.AbstractLifecycleMetaData;
/* */ import org.jboss.beans.metadata.plugins.MutableLifecycleHolder;
/* */ import org.jboss.xb.binding.sunday.unmarshalling.DefaultElementInterceptor;
/* */
/* */ public class LifecycleStopInterceptor extends DefaultElementInterceptor
/* */ {
/* 38 */ public static final LifecycleStopInterceptor INTERCEPTOR = new LifecycleStopInterceptor();
/* */
/* */ public void add(Object parent, Object child, QName name)
/* */ {
/* 42 */ MutableLifecycleHolder holder = (MutableLifecycleHolder)parent;
/* 43 */ AbstractLifecycleMetaData lifecycle = (AbstractLifecycleMetaData)child;
/* 44 */ lifecycle.setType("stop");
/* 45 */ holder.setStop(lifecycle);
/* */ }
/* */ }
/* Location: /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
* Qualified Name: org.jboss.kernel.plugins.deployment.xml.LifecycleStopInterceptor
* JD-Core Version: 0.6.0
*/