[weld/core] 314693: WELD-2342 Probe - fix unused beans
by GitHub
Branch: refs/heads/2.4
Home: https://github.com/weld/core
Commit: 3146932d0869649fcbe7af1651e2e56a833d9a34
https://github.com/weld/core/commit/3146932d0869649fcbe7af1651e2e56a833d9a34
Author: Martin Kouba <mkouba(a)redhat.com>
Date: 2017-02-28 (Tue, 28 Feb 2017)
Changed paths:
M probe/core/src/main/java/org/jboss/weld/probe/Probe.java
A probe/tests/src/main/java/org/jboss/weld/probe/tests/integration/deployment/beans/unused/AlphaBean.java
A probe/tests/src/main/java/org/jboss/weld/probe/tests/integration/deployment/beans/unused/CharlieBean.java
A probe/tests/src/main/java/org/jboss/weld/probe/tests/integration/deployment/beans/unused/DeltaBean.java
A probe/tests/src/main/java/org/jboss/weld/probe/tests/integration/deployment/beans/unused/DisposerDefinitionBean.java
A probe/tests/src/main/java/org/jboss/weld/probe/tests/integration/deployment/beans/unused/NamedBean.java
A probe/tests/src/main/java/org/jboss/weld/probe/tests/integration/deployment/beans/unused/ObserverDefiningBean.java
A probe/tests/src/main/java/org/jboss/weld/probe/tests/integration/deployment/beans/unused/ProducerBean.java
A probe/tests/src/test/java/org/jboss/weld/probe/tests/integration/ProbeUnusedBeansTest.java
Log Message:
-----------
WELD-2342 Probe - fix unused beans
- do not mark a bean as unused if only injected into an observer method
or disposer method
Commit: e63e6a82757f2e43a79497a7341f8632cfeec31c
https://github.com/weld/core/commit/e63e6a82757f2e43a79497a7341f8632cfeec31c
Author: Martin Kouba <mkouba(a)redhat.com>
Date: 2017-02-28 (Tue, 28 Feb 2017)
Changed paths:
M probe/core/src/main/java/org/jboss/weld/probe/Components.java
M probe/core/src/main/java/org/jboss/weld/probe/Probe.java
Log Message:
-----------
WELD-2342 Minor optimization of lookup of unused beans
Compare: https://github.com/weld/core/compare/63c641a019a5...e63e6a82757f
7 years, 9 months
[weld/core] d104d1: WELD-2342 Probe - fix unused beans
by GitHub
Branch: refs/heads/master
Home: https://github.com/weld/core
Commit: d104d1d444954a7a4e948cf454d0289c08396869
https://github.com/weld/core/commit/d104d1d444954a7a4e948cf454d0289c08396869
Author: Martin Kouba <mkouba(a)redhat.com>
Date: 2017-02-28 (Tue, 28 Feb 2017)
Changed paths:
M probe/core/src/main/java/org/jboss/weld/probe/Probe.java
A probe/tests/src/main/java/org/jboss/weld/probe/tests/integration/deployment/beans/unused/AlphaBean.java
A probe/tests/src/main/java/org/jboss/weld/probe/tests/integration/deployment/beans/unused/CharlieBean.java
A probe/tests/src/main/java/org/jboss/weld/probe/tests/integration/deployment/beans/unused/DeltaBean.java
A probe/tests/src/main/java/org/jboss/weld/probe/tests/integration/deployment/beans/unused/DisposerDefinitionBean.java
A probe/tests/src/main/java/org/jboss/weld/probe/tests/integration/deployment/beans/unused/NamedBean.java
A probe/tests/src/main/java/org/jboss/weld/probe/tests/integration/deployment/beans/unused/ObserverDefiningBean.java
A probe/tests/src/main/java/org/jboss/weld/probe/tests/integration/deployment/beans/unused/ProducerBean.java
A probe/tests/src/test/java/org/jboss/weld/probe/tests/integration/ProbeUnusedBeansTest.java
Log Message:
-----------
WELD-2342 Probe - fix unused beans
- do not mark a bean as unused if only injected into an observer method
or disposer method
Commit: 872f72970553d2874a73fb1ac24f1d1648229f4f
https://github.com/weld/core/commit/872f72970553d2874a73fb1ac24f1d1648229f4f
Author: Martin Kouba <mkouba(a)redhat.com>
Date: 2017-02-28 (Tue, 28 Feb 2017)
Changed paths:
M probe/core/src/main/java/org/jboss/weld/probe/Components.java
M probe/core/src/main/java/org/jboss/weld/probe/Probe.java
Log Message:
-----------
WELD-2342 Minor optimization of lookup of unused beans
Compare: https://github.com/weld/core/compare/7f7c9d5677c1...872f72970553
7 years, 9 months
[weld/core] 5bc018: WELD-2341 fix injection of InjectionPoint metadata...
by GitHub
Branch: refs/heads/2.4
Home: https://github.com/weld/core
Commit: 5bc018dd96970ff18b050624ad7526493c5ecebc
https://github.com/weld/core/commit/5bc018dd96970ff18b050624ad7526493c5ecebc
Author: Tomas Remes <tremes(a)redhat.com>
Date: 2017-02-28 (Tue, 28 Feb 2017)
Changed paths:
M impl/src/main/java/org/jboss/weld/bean/proxy/InjectionPointPropagatingEnterpriseTargetBeanInstance.java
M impl/src/main/java/org/jboss/weld/bootstrap/WeldStartup.java
A impl/src/main/java/org/jboss/weld/injection/CurrentInvocationInjectionPoint.java
M impl/src/main/java/org/jboss/weld/injection/DynamicInjectionPoint.java
R impl/src/main/java/org/jboss/weld/injection/SLSBInvocationInjectionPoint.java
A impl/src/main/java/org/jboss/weld/injection/producer/DynamicInjectionPointInjector.java
R impl/src/main/java/org/jboss/weld/injection/producer/StatelessSessionBeanInjector.java
M impl/src/main/java/org/jboss/weld/injection/producer/ejb/SessionBeanInjectionTarget.java
M impl/src/main/java/org/jboss/weld/injection/producer/ejb/SessionBeanProxyInstantiator.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/injectionPoint/enterprise/Bar.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/injectionPoint/enterprise/Baz.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/injectionPoint/enterprise/Foo.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/injectionPoint/enterprise/SessionBeanInjectionPointTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/injectionPoint/enterprise/TestClient.java
Log Message:
-----------
WELD-2341 fix injection of InjectionPoint metadata to singleton session
bean.
Commit: 63c641a019a505e3f0f602a909faaf2911484dac
https://github.com/weld/core/commit/63c641a019a505e3f0f602a909faaf2911484dac
Author: Antoine Sabot-Durand <antoine(a)sabot-durand.net>
Date: 2017-02-28 (Tue, 28 Feb 2017)
Changed paths:
M impl/src/main/java/org/jboss/weld/bootstrap/ExtensionBeanDeployer.java
M impl/src/main/java/org/jboss/weld/logging/EventLogger.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/extensions/staticObserver/ExtensionWithStaticLifecycleEventObserver.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/extensions/staticObserver/ExtensionWithStaticNonLifecycleEventObserver.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/extensions/staticObserver/StaticLifecycleEventObserverTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/extensions/staticObserver/StaticNonLifecycleEventObserverTest.java
Log Message:
-----------
WELD-2331 Misleading error message when Extension observer method is (wrongly) static
Added specific deployment error and test for it
Compare: https://github.com/weld/core/compare/c82ff503465f...63c641a019a5
7 years, 9 months
[weld/core] ea77ca: WELD-2341 fix injection of InjectionPoint metadata...
by GitHub
Branch: refs/heads/master
Home: https://github.com/weld/core
Commit: ea77ca5700b4ae46711d4c255b1533ca30a60230
https://github.com/weld/core/commit/ea77ca5700b4ae46711d4c255b1533ca30a60230
Author: Tomas Remes <tremes(a)redhat.com>
Date: 2017-02-28 (Tue, 28 Feb 2017)
Changed paths:
A modules/ejb/src/main/java/org/jboss/weld/module/ejb/CurrentInvocationInjectionPoint.java
M modules/ejb/src/main/java/org/jboss/weld/module/ejb/DynamicInjectionPoint.java
A modules/ejb/src/main/java/org/jboss/weld/module/ejb/DynamicInjectionPointInjector.java
M modules/ejb/src/main/java/org/jboss/weld/module/ejb/InjectionPointPropagatingEnterpriseTargetBeanInstance.java
R modules/ejb/src/main/java/org/jboss/weld/module/ejb/SLSBInvocationInjectionPoint.java
M modules/ejb/src/main/java/org/jboss/weld/module/ejb/SessionBeanInjectionTarget.java
M modules/ejb/src/main/java/org/jboss/weld/module/ejb/SessionBeanProxyInstantiator.java
R modules/ejb/src/main/java/org/jboss/weld/module/ejb/StatelessSessionBeanInjector.java
M modules/ejb/src/main/java/org/jboss/weld/module/ejb/WeldEjbModule.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/injectionPoint/enterprise/Bar.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/injectionPoint/enterprise/Baz.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/injectionPoint/enterprise/Foo.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/injectionPoint/enterprise/SessionBeanInjectionPointTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/injectionPoint/enterprise/TestClient.java
Log Message:
-----------
WELD-2341 fix injection of InjectionPoint metadata to singleton session
bean.
Commit: 7f7c9d5677c1a6667985367e802d2a5b38af05dc
https://github.com/weld/core/commit/7f7c9d5677c1a6667985367e802d2a5b38af05dc
Author: Antoine Sabot-Durand <antoine(a)sabot-durand.net>
Date: 2017-02-28 (Tue, 28 Feb 2017)
Changed paths:
M impl/src/main/java/org/jboss/weld/bootstrap/ExtensionBeanDeployer.java
M impl/src/main/java/org/jboss/weld/logging/EventLogger.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/extensions/staticObserver/ExtensionWithStaticLifecycleEventObserver.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/extensions/staticObserver/ExtensionWithStaticNonLifecycleEventObserver.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/extensions/staticObserver/StaticLifecycleEventObserverTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/extensions/staticObserver/StaticNonLifecycleEventObserverTest.java
Log Message:
-----------
WELD-2331 Misleading error message when Extension observer method is (wrongly) static
Added specific deployment error and test for it
Compare: https://github.com/weld/core/compare/94c877e86c8a...7f7c9d5677c1
7 years, 9 months
weld-commits:人力资源效能方程式 55736
by ofqz
人力资源效能方程式
【时间地点】 2017年3月10-11上海 4月14,15日杭州 6月9,10日杭州
【学习费用】 4980元/人(包含教材,午餐,茶点,发票。。。)
【参加对象】 HR经理、总监;中高层领导、基础管理人员及对本课程感兴趣的人士
【授课方式】 讲师讲授 + 视频演绎 + 案例研讨 +角色扮演 + 讲师点评 + 落地工具
【联系方式】 021-31006787, 13381601000 (许先生)
【QQ/ 微信】 320588808
【课程特色】
1、全国第一个HR与财务相结合的课程;
2、原创提出人力资源效能方程式的概念;
3、系统地提出HR资产负债表、HR价值转化表及HR现金流向表;
4、原创性提出HR数据预警指标的概念;
5、结合个税筹划,提出HR开源和人工成本降低的方法。
【课程收益】
1、HR与财务同频:去六大模块思维,把财务数据转化为工具,形成产品化思维;
2、HR与业务实现:了解财务与经营,更好地支持业务部门工作的开展;
3、HR与数据分析:理解财务报表背后的数据信息,减少与业务部门沟通的成本;
4、HR与绩效改进:掌握绩效数据间的勾稽关系,从财务角度理解KPI指标设定;
5、HR与价值创造:学会个税筹划的技巧,及降本提效的方法。
【工具包】
工具1:HR效能方程式
工具2:业务的量本利分析法
工具3:杜邦分析法在HR中的运用
工具4:HR业务数据分析图
工具5:年终奖计税
工具6: HR价值表
【场景应用】
应用1:盈亏平衡点用在HR的编制管理上
应用2:毛利率如何用在HR的绩效考核上
应用3:利润表上的净利润在HR考核中的误区
应用4:如何从财务角度来做HR成本表
应用5:杜邦分析法用在HR的绩效改进上
应用6:业务仪表盘—预警业务进展
【课程大纲】
第一部分 新时代赋予HR的新使命(第一天上午,上午0.5小时)
一、互联网对HR的新挑战
二、新时代对HR的新定义
工具1:HR效能方程式
第二部分 HR经营化 (第一天上午, 2.5小时+第一天下午2小时)
一、看业务
(一)HR如何理解销售收入?-案例1:卖多少包子店才盈亏平衡?
工具2:业务的量本利分析法
场景应用1:盈亏平衡点用在HR的编制管理上
(二)HR如何理解毛利率?
场景应用2:毛利率如何用在HR的绩效考核上
案例2:某公司的基于业务毛利率考核方案
二、看财务
(一)跨界打劫-财务是HR门口的“野蛮人”吗?
(二)同频对话-HR如何看懂财务的三张报表?
1、HR的地盘能自己做主吗?
场景应用3:利润表上的净利润在HR考核中的误区
2、大部分HR不知道财务数据之间的勾稽关系
场景应用4:如何从财务角度来做HR成本表
(三)杜邦分析法-HR与财务的结合点(实操演练,带笔记本电脑)
案例3:某企业ROE由28.6%下降至9.82%,经分析是人工成本过高造成的,HR是如何做绩改改进的
应用5:杜邦分析法用在HR的绩效改进上
第三部分 HR数据化(第一天下午,2小时+第二天上午2小时)
一、看关联
(一)HR数据间关联-HR的静态存量数据
某IT企业骨干员工离职率由39%下降到8%,销售收入增长55%?
案例4:某企业如何通过三定数据分析减少3人?
(二)HR与业务关联-HR的动态增量数据
1、HR拿到的数据和呈现给领导的数据是两回事,如何处理?
案例5:去年人工成本率是8.3%,今年是9.2%,人工成本增加在哪些科目上,对业务是什么影响?
2、人工成本结构数据。
工具4: HR业务数据分析图
二、看预警
(一)HR指标预警
1、业务仪表盘—预警业务进展(应用5)---实操演练,带笔记本电脑
2、KPI仪表盘-预警项目进展的指标
3、人工成本率-预警人效提升的指标
(二)HR人才预警
第四部分 HR价值化(第二天下午,1.5小时,实操演练,带笔记本电脑)
一、看开源
(一)HR贡献
案例6:HR部门的贡献如何测算?
(二)个税筹划
工具5:年终奖计税
二、看节流
案例7:华为公司如何让一个企业实现员工下降50%,人均劳动力增长80%,而销售收入增长20%?
第五部分 HR"才"报化(第二天下午,1.5小时)
现场演练:HR价值表
工具6: HR价值表
讲师简介:郑指梁
实战人力资源&财务管理专家
管理学硕士、注册会计师、注册税务师
浙江大学、中山大学总裁班特邀讲师
浙江省企业培训师协会副会长
国家人力资源管理师一级辅导师
曾任美国Bel Fuse Inc.中国区人力资源经理、财务总监
曾任世界500强人力资源总监、财务总监
国内人力资源与财务管理结合专家
个人经历
具有近20年的HR、财务、税务、投行、资本运作等从业经验,曾服务于世界500强企业及中国民营500强企业;熟悉跨国公司与民营企业管理的规律与特点。是业内不多的能同时把人力资源与财务、投行有效结合起来的专家。
熟悉私募基金运营、资本运作、投融资、股权融资、收购兼并。参与并主导多家企业的IPO(主板与新三板)上市工作,并积累丰富的投行经验。
原创性提出私募基金在合伙人制度当中的运用,HR效能方式方程式等思路与模式。他在多年HR和财务工作实践经验中总结提炼而成的《合伙人制度》、《人力资源效能方程式》、《非财务经理的财务管理》课程多次面向社会开设公开课,获得学员高度认可和广泛运用。
主讲课程
《合伙人制度》《人力资源效能方程式》《HR如何有效支持业务伙伴》《非财务经理的财务管理》《绩效管理实操及落地提升》
《人力资源经理的财务管理》《绩效平衡与落地》《基于smart原理的薪酬体系设计》
7 years, 9 months
[weld/core] c82ff5: WELD-2340 Fire ContainerInitialized event after Sh...
by GitHub
Branch: refs/heads/2.4
Home: https://github.com/weld/core
Commit: c82ff503465f7baa1a0c0759307f514a3e87c527
https://github.com/weld/core/commit/c82ff503465f7baa1a0c0759307f514a3e87c527
Author: Matej Novotny <manovotn(a)redhat.com>
Date: 2017-02-22 (Wed, 22 Feb 2017)
Changed paths:
M environments/se/core/src/main/java/org/jboss/weld/environment/se/WeldContainer.java
A environments/se/tests/src/test/java/org/jboss/weld/environment/se/test/shutdown/hook/AbstractShutdownHookTest.java
A environments/se/tests/src/test/java/org/jboss/weld/environment/se/test/shutdown/hook/Observer.java
A environments/se/tests/src/test/java/org/jboss/weld/environment/se/test/shutdown/hook/ShutdownHookRegisteredBeforeInitEventTest.java
M environments/se/tests/src/test/java/org/jboss/weld/environment/se/test/shutdown/hook/ShutdownHookTest.java
Log Message:
-----------
WELD-2340 Fire ContainerInitialized event after ShutdownHook registration.
7 years, 9 months
[weld/core] 935cbd: WELD-2340 Fire ContainerInitialized event after Sh...
by GitHub
Branch: refs/heads/master
Home: https://github.com/weld/core
Commit: 935cbd967ae4d0412d27844857e5229149f591d1
https://github.com/weld/core/commit/935cbd967ae4d0412d27844857e5229149f591d1
Author: Matej Novotny <manovotn(a)redhat.com>
Date: 2017-02-22 (Wed, 22 Feb 2017)
Changed paths:
M environments/se/core/src/main/java/org/jboss/weld/environment/se/WeldContainer.java
A environments/se/tests/src/test/java/org/jboss/weld/environment/se/test/shutdown/hook/AbstractShutdownHookTest.java
A environments/se/tests/src/test/java/org/jboss/weld/environment/se/test/shutdown/hook/Observer.java
A environments/se/tests/src/test/java/org/jboss/weld/environment/se/test/shutdown/hook/ShutdownHookRegisteredBeforeInitEventTest.java
M environments/se/tests/src/test/java/org/jboss/weld/environment/se/test/shutdown/hook/ShutdownHookTest.java
Log Message:
-----------
WELD-2340 Fire ContainerInitialized event after ShutdownHook registration.
7 years, 9 months
[weld/core] 81c8e8: WELD-2338 modify the condition recognizing OM as c...
by GitHub
Branch: refs/heads/2.4
Home: https://github.com/weld/core
Commit: 81c8e88e4f8f4ff8c562fbc9f3adfa4d15ce427c
https://github.com/weld/core/commit/81c8e88e4f8f4ff8c562fbc9f3adfa4d15ce427c
Author: Matej Novotny <manovotn(a)redhat.com>
Date: 2017-02-21 (Tue, 21 Feb 2017)
Changed paths:
M impl/src/main/java/org/jboss/weld/util/Observers.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/event/observer/weld2338/Experimental.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/event/observer/weld2338/Foo.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/event/observer/weld2338/Observer.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/event/observer/weld2338/ObserverInExtensionTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/event/observer/weld2338/Payload.java
Log Message:
-----------
WELD-2338 modify the condition recognizing OM as container lifecycle one.
7 years, 9 months