/* */ 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 LifecycleDestroyInterceptor extends DefaultElementInterceptor
/* */ {
/* 38 */ public static final LifecycleDestroyInterceptor INTERCEPTOR = new LifecycleDestroyInterceptor();
/* */
/* */ public void add(Object parent, Object child, QName name)
/* */ {
/* 42 */ MutableLifecycleHolder holder = (MutableLifecycleHolder)parent;
/* 43 */ AbstractLifecycleMetaData lifecycle = (AbstractLifecycleMetaData)child;
/* 44 */ lifecycle.setType("destroy");
/* 45 */ holder.setDestroy(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.LifecycleDestroyInterceptor
* JD-Core Version: 0.6.0
*/