選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

EntityControllerAspect.java 422B

123456789101112131415
  1. import org.aspectj.lang.annotation.Aspect;
  2. import org.aspectj.lang.annotation.*;
  3. @Aspect
  4. public class EntityControllerAspect {
  5. @DeclareParents(value = "@EntityController *", defaultImpl = EntityMongoController.class)
  6. private IEntityController iEntityController;
  7. /*
  8. @DeclareMixin("@EntityController *")
  9. private IEntityController createEntityControllerInstance() {
  10. return new EntityMongoController();
  11. }
  12. */
  13. }