Skip to content

学习JDK动态代理代码分两步骤,第一实现静态代理,第二实现动态代理。本身框架是客户端-service-serviceImpl,实现代理proxy以后,proxy去访问serviceImpl,在proxy中实现事务增强。为了让代理能够达到类似泛型的效果,只需要实现InovationHandler接口,利用反射实现invoke方法,这样实际客户端只需要newProxyInstance便能实现JDK动态代理。

active 2023-11-292023-11-29 (UTC)

Partial coverage20,258 / 25,998 hourly files (78%) · 2 absent upstream · 5,737 failed, retryable2023-08-252026-08-12 (UTC)— sampled evenly across the window, so rankings and trends hold; absolute counts scale up.
Events
1
Pushes
0
Pull requests
0
Issues
0
Stars
0
Forks
0

Activity over time

Daily event counts in the loaded window

Line chart, 1 days from 2023-11-29 to 2023-11-29. Pushes: 0 total, peak 0 in a day. Pull requests: 0 total, peak 0 in a day. Issues: 0 total, peak 0 in a day. Comments: 0 total, peak 0 in a day. Stars: 0 total, peak 0 in a day.

  • Pushes
  • Pull requests
  • Issues
  • Comments
  • Stars

Top contributors

Pushes, PRs, issues, reviews and comments — stars and forks excluded, so this is contribution rather than popularity

Nobody pushed, opened or commented here in the loaded window — this repo's activity is stars and forks only.

Recent activity

Latest issues, pull requests and releases

No issue or PR events — this repo's activity is pushes only.

Totals cover only the window loaded into ClickHouse and count events, not GitHub's lifetime totals — 0 stars here means stars gained during the window, not the repo's star count.