/* */ package org.jboss.wsf.stack.jbws;
/* */
/* */ import org.jboss.ws.metadata.umdm.UnifiedMetaData;
/* */ import org.jboss.wsf.spi.deployment.Deployment;
/* */ import org.jboss.wsf.spi.deployment.DeploymentAspect;
/* */
/* */ public class EagerInitializeDeploymentAspect extends DeploymentAspect
/* */ {
/* */ public void create(Deployment dep)
/* */ {
/* 41 */ UnifiedMetaData umd = (UnifiedMetaData)dep.getAttachment(UnifiedMetaData.class);
/* 42 */ if (umd == null) {
/* 43 */ throw new IllegalStateException("Cannot obtain unified meta data");
/* */ }
/* 45 */ ClassLoader runtimeClassLoader = dep.getRuntimeClassLoader();
/* 46 */ if (null == runtimeClassLoader) {
/* 47 */ throw new IllegalArgumentException("Runtime classloader may not be null");
/* */ }
/* 49 */ umd.setClassLoader(runtimeClassLoader);
/* 50 */ umd.eagerInitialize();
/* */ }
/* */ }
/* Location: /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
* Qualified Name: org.jboss.wsf.stack.jbws.EagerInitializeDeploymentAspect
* JD-Core Version: 0.6.0
*/