Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我有一个使用 @Named 注释注入的 bean。例如,
@Named public class MyBean {}
运行时 bean 的名称是什么?我搜索了网络,但找不到答案。也不知道怎么调试才能找到名字。
bean 的名称将是类名。
示例:类 CustomerService 将被命名为 customerService
I am not sure what is wrong with my code can someone help fix the error? The error is in the timer.Tick() line. It's supposed to make a stopwatch.
timer.Tick()
namesp