• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

link-intersystems / clean-architecture-example / #41

15 Sep 2023 12:36PM UTC coverage: 89.062% (-0.6%) from 89.624%
#41

push

web-flow
Jpa support (#2)

* Added jpa repository impl for booking.

* Using JPA.

* tx management extracted to own module.

* libs parent module introduced and shared libs added.

* Refactored application to switch between jdbc and jpa repositories.

* Separated components creation and made it configurable through app arguments.

* Made application components plugable.

* Refactored maven modules.

* Implemented JPA management repositories.

* Common row mapper extracted.

* Merged offer package with booking.

* Decoupled management.rental from management.offer

* JDBC components should be the default.

* Fixed bug and wrote test.

* Management booking sub components merged.

* Merged management.rental sub components.

456 of 456 new or added lines in 70 files covered. (100.0%)

2060 of 2313 relevant lines covered (89.06%)

0.89 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.0
/libs/aop/src/main/java/com/link_intersystems/aop/DefaultMethodInvocation.java
1
package com.link_intersystems.aop;
2

3
import java.lang.reflect.Method;
4

5
import static java.util.Objects.*;
6

7
public class DefaultMethodInvocation implements MethodInvocation {
8

9
    private Object target;
10
    private Method method;
11
    private Object[] args;
12

13
    public DefaultMethodInvocation(Object target, Method method, Object... args) {
1✔
14
        this.target = requireNonNull(target);
1✔
15
        this.method = requireNonNull(method);
1✔
16
        this.args = requireNonNull(args);
1✔
17
    }
1✔
18

19
    @Override
20
    public Method getMethod() {
21
        return method;
×
22
    }
23

24
    @Override
25
    public Object[] getArgs() {
26
        return args;
×
27
    }
28

29
    @Override
30
    public Object proceed() throws Exception {
31
        return method.invoke(target, args);
1✔
32
    }
33

34
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc