Package org.jboss.aop.microcontainer.beans

Source Code of org.jboss.aop.microcontainer.beans.DynamicCFlowDef

/*    */ package org.jboss.aop.microcontainer.beans;
/*    */
/*    */ import org.jboss.aop.AspectManager;
/*    */ import org.jboss.aop.advice.DynamicCFlowDefinition;
/*    */
/*    */ public class DynamicCFlowDef
/*    */ {
/*    */   private AspectManager manager;
/*    */   private String name;
/*    */   private String className;
/*    */
/*    */   public AspectManager getManager()
/*    */   {
/* 52 */     return this.manager;
/*    */   }
/*    */
/*    */   public void setManager(AspectManager manager)
/*    */   {
/* 57 */     this.manager = manager;
/*    */   }
/*    */
/*    */   public String getName()
/*    */   {
/* 62 */     return this.name;
/*    */   }
/*    */
/*    */   public void setName(String name)
/*    */   {
/* 67 */     this.name = name;
/*    */   }
/*    */
/*    */   public String getClassName()
/*    */   {
/* 72 */     return this.className;
/*    */   }
/*    */
/*    */   public void setClassName(String className)
/*    */   {
/* 77 */     this.className = className;
/*    */   }
/*    */
/*    */   public void start()
/*    */   {
/* 82 */     if ((this.name == null) || (this.name.length() == 0))
/* 83 */       throw new IllegalArgumentException("Null name");
/* 84 */     if ((this.className == null) || (this.className.length() == 0))
/* 85 */       throw new IllegalArgumentException("Null className");
/* 86 */     if (this.manager == null) {
/* 87 */       throw new IllegalArgumentException("Null manager");
/*    */     }
/* 89 */     DynamicCFlowDefinition dynamic = new DynamicCFlowDefinition(null, this.className, this.name);
/* 90 */     this.manager.addDynamicCFlow(this.name, dynamic);
/*    */   }
/*    */
/*    */   public void stop()
/*    */   {
/* 95 */     this.manager.removeCFlowStack(this.name);
/*    */   }
/*    */ }

/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
* Qualified Name:     org.jboss.aop.microcontainer.beans.DynamicCFlowDef
* JD-Core Version:    0.6.0
*/
TOP

Related Classes of org.jboss.aop.microcontainer.beans.DynamicCFlowDef

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.