Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*    */ package org.jboss.ejb3.security;
 /*    */ 
 /*    */ import org.jboss.aop.Advisor;
 /*    */ import org.jboss.aop.InstanceAdvisor;
 /*    */ import org.jboss.aop.advice.AspectFactory;
 /*    */ import org.jboss.aop.joinpoint.Joinpoint;
 /*    */ 
 /*    */ public abstract class PerClassAspectFactoryAdaptor
 /*    */   implements AspectFactory
/*    */ {
/* 40 */   private RuntimeException rte = new RuntimeException("Only PER_CLASS supported in this interceptor factory");
/*    */ 
/*    */   public abstract Object createPerClass(Advisor paramAdvisor);
/*    */ 
/*    */   public Object createPerInstance(Advisor advisorInstanceAdvisor instanceAdvisor)
/*    */   {
/* 47 */     throw this.rte;
/*    */   }
/*    */ 
/*    */   public Object createPerJoinpoint(Advisor advisorJoinpoint jp)
/*    */   {
/* 52 */     throw this.rte;
/*    */   }
/*    */ 
/*    */   public Object createPerJoinpoint(Advisor advisorInstanceAdvisor instanceAdvisorJoinpoint jp)
/*    */   {
/* 58 */     throw this.rte;
/*    */   }
/*    */ 
/*    */   public Object createPerVM()
/*    */   {
/* 63 */     throw this.rte;
/*    */   }
/*    */ 
/*    */   public String getName()
/*    */   {
/* 68 */     return getClass().getName();
/*    */   }
/*    */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
 * Qualified Name:     org.jboss.ejb3.security.PerClassAspectFactoryAdaptor
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X