Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*    */ package org.jboss.injection;
 /*    */ 
 /*    */ import java.lang.reflect.AccessibleObject;
 /*    */ import org.jboss.ejb3.BeanContext;
 /*    */ 
 /*    */ public abstract class AbstractPropertyInjector
 /*    */   implements Injector
 /*    */ {
/*    */   protected BeanProperty property;
/*    */ 
/*    */   protected AbstractPropertyInjector(BeanProperty property)
/*    */   {
/* 41 */     this.property = property;
/*    */   }
/*    */ 
/*    */   public Class<?> getInjectionClass()
/*    */   {
/* 46 */     return this.property.getType();
/*    */   }
/*    */ 
/*    */   public void inject(BeanContext ctx)
/*    */   {
/* 51 */     inject(ctx.getInstance());
/*    */   }
/*    */ 
/*    */   public AccessibleObject getAccessibleObject()
/*    */   {
/* 56 */     return this.property.getAccessibleObject();
/*    */   }
/*    */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
 * Qualified Name:     org.jboss.injection.AbstractPropertyInjector
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X