You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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. }