搜档网
当前位置:搜档网 › java reflection

java reflection

java reflection
java reflection

Java语言课程实验报告

java 反射

姓名院系软件学院学号

任课教师指导教师

实验地点实验时间2011年11月22日

实验课表现实验报告

得分40%

实验总分

实验目的:

●了解java反射机制

●掌握java 反射的基本语法

实验准备:

Java提供了一套机制来动态执行方法和构造方法,以及数组操作等,这套机制就叫——反射。反射机制是如今很多流行框架的实现基础,其中包括Spring、Hibernate等。原理性的问题不是本文的重点,接下来让我们在实例中学习这套精彩的机制。

1. 得到某个对象的属性

1public Object getProperty(Object owner, String fieldName) throws Exception {

2 Class ownerClass = owner.getClass();

3

4 Field field = ownerClass.getField(fieldName);

5

6 Object property = field.get(owner);

7

8return property;

9 }

Class ownerClass = owner.getClass():得到该对象的Class。

Field field = ownerClass.getField(fieldName):通过Class得到类声明的属性。

Object property = field.get(owner):通过对象得到该属性的实例,如果这个属性是非公有的,这里会报IllegalAccessException。

2. 得到某个类的静态属性

1public Object getStaticProperty(String className, String fieldName)

2throws Exception {

3 Class ownerClass = Class.forName(className);

4

5 Field field = ownerClass.getField(fieldName);

6

7 Object property = field.get(ownerClass);

8

9return property;

10 }

Class ownerClass = Class.forName(className) :首先得到这个类的Class。

Field field = ownerClass.getField(fieldName):和上面一样,通过Class得到类声明的属性。

Object property = field.get(ownerClass) :这里和上面有些不同,因为该属性是静态的,所以直接从类的Class里取。

3. 执行某对象的方法

1public Object invokeMethod(Object owner, String methodName, Object[] args) throws Exception { 2

3 Class ownerClass = owner.getClass();

4

5 Class[] argsClass = new Class[args.length];

6

7for (int i = 0, j = args.length; i < j; i++) {

8 argsClass[i] = args[i].getClass();

9 }

10

11 Method method = ownerClass.getMethod(methodName, argsClass);

12

13return method.invoke(owner, args);

14 }

Class owner_class = owner.getClass() :首先还是必须得到这个对象的Class。

5~9行:配置参数的Class数组,作为寻找Method的条件。

Method method = ownerClass.getMethod(methodName, argsClass):通过Method名和参数的Class数组得到要执行的Method。

method.invoke(owner, args):执行该Method,invoke方法的参数是执行这个方法的对象,和参数数组。返回值是Object,也既是该方法的返回值。

4. 执行某个类的静态方法

1public Object invokeStaticMethod(String className, String methodName,

2 Object[] args) throws Exception {

3 Class ownerClass = Class.forName(className);

4

5 Class[] argsClass = new Class[args.length];

6

7for (int i = 0, j = args.length; i < j; i++) {

8 argsClass[i] = args[i].getClass();

9 }

10

11 Method method = ownerClass.getMethod(methodName, argsClass);

12

13return method.invoke(null, args);

14 }

基本的原理和实例3相同,不同点是最后一行,invoke的一个参数是null,因为这是静态方法,不需要借助实例运行。

5. 新建实例

1

2public Object newInstance(String className, Object[] args) throws Exception {

3 Class newoneClass = Class.forName(className);

4

5 Class[] argsClass = new Class[args.length];

6

7for (int i = 0, j = args.length; i < j; i++) {

8 argsClass[i] = args[i].getClass();

9 }

10

11 Constructor cons = newoneClass.getConstructor(argsClass);

12

13return cons.newInstance(args);

14

15 }

这里说的方法是执行带参数的构造函数来新建实例的方法。如果不需要参数,可以直接使用newoneClass.newInstance()来实现。

Class newoneClass = Class.forName(className):第一步,得到要构造的实例的Class。

第5~第9行:得到参数的Class数组。

Constructor cons = newoneClass.getConstructor(argsClass):得到构造子。

cons.newInstance(args):新建实例。

6. 判断是否为某个类的实例

1public boolean isInstance(Object obj, Class cls) {

2return cls.isInstance(obj);

3 }

7. 得到数组中的某个元素

1public Object getByArray(Object array, int index) {

2return Array.get(array,index);

3 }

实验内容

参考讲稿中对于反射取构造函数,属性和方法的三个部分案例,通过反射找出https://www.sodocs.net/doc/054435471.html,ng.Math这个类的构造函数、属性和方法

源代码:

import https://www.sodocs.net/doc/054435471.html,ng.reflect.*;; // 导入构造方法的包

public class GetConstructorDemo{

public static void main(String args[]){

Class c1 = null;

try{

c1 = Class.forName("https://www.sodocs.net/doc/054435471.html,ng.Math");

}catch(Exception e){

e.printStackTrace() ;

}

Constructor con[] = c1.getDeclaredConstructors();

Field field[]=c1.getDeclaredFields();

Method method[]=c1.getDeclaredMethods();

for(int i=0;i

System.out.println("构造方法:" + con[i]);

}

for(int j=0;j

System.out.println("属性:" + field[j]);

}

for(int e=0;e

System.out.println("方法:" + method[e]);

}

}

}

结果截图:

兴旺小学班级管理团队激励机制(1)

庙子镇兴旺小学班级团队管理激励机制实施方案一、实施目的: 为进一步提高班级管理水平,调动教师参与班级管理工作积极性,体现班级管理团队合作精神,我校特制定班级管理激励机制实施方案。 二、组织机构 组长:尚宗林 副组长:张如林邱效俊 成员:全体教师 班级管理团队人员安排: 成员分工: 1、熟悉班级学生情况,协助班主任团结任课教师形成班级工作团队,共同分析、研究学生的思想、学习和生活状况,齐心协力,协同班主任一起关心每一位学生的健康成长。 2、班主任负责班上的日常工作,每个团队成员每天到班上协助班

主任完成日常工作的管理。 3、班级参加集体性活动,团队成员应参与组织与管理。集体性活动包括:社会实践活动、主题活动、文艺汇演、阳光体育、大扫除等学校组织的有关学生活动。班级参加集体比赛,团队要通力合作,出谋献策。 三、考核办法: 为使《班级团队管理工作》的管理落到实处,特制定如下量化细则: (一)、根据我校具体情况,把所有任课教师与相应班级组成班级管理团队,班级管理人考核得分也就是该教师的得分。 (二)、班级管理考核内容具体分为: A卫生 B晨读、写字 C两操 D课外活动(小组活动)E安全F纪律 G班级文化建设 H家校沟通 I学校大型活动及临时性工作完成情况 J其他工作 (三)、班级管理考核每周各项逐一考核,学期末汇总,取总分的考核方法进行。 1、安全工作:(15分) (1)班级全学期未出现安全事故记满分。 (2)发生事故纠纷上交由学校处理,但学校不承担费用的,每次扣1分。需学校承担费用100元以内的,每次扣2分,需学校承担费用100元以上——500元以内的,每次扣5分。发生重大事故需上报镇中心校处理的,此项记0分。

项目销售团队激励机制与提成方案设计

实用标准文档 长沙融科东塘项目 销售组织及日常管理方案 凌峻(中国)房地产策划代理机构 二OO五年十一月

前言 长沙融科东塘项目作为2006年长沙市最值得期待的楼盘,所针对的目标客户群体是中高端的消费者,目标客户对楼盘的各个方面期望值都较高;为配合项目首期的营销推广工作,销售服务就必须就其他项目有本质的飞跃和提高。本方案就是为解决项目销售准备工作而展开。 “尊重、完美、严谨、专业”的风格是最能体现项目形象及消费群体自尊、自律的心理特点,现场所有工作人员的行为礼节都应体现这一风格,同时使视觉体系与服务体系达到顾客满意的效果!

一、销售部人事组织管理 1、配置原则 针对目标消费群体的特点,按高标准、高起点的要求,充分体现项目的形象定位,除开发商与策划公司组成营销核心外,还需把建筑商、设计院、物业管理公司都对整合到项目的营销战略体台系当中。 2、销售人员的配置 销售部销售中心现场经理一名; 销售主任(组长)2名; 销售代表8名。 3、现场销售人员岗位职责 ●销售代表 认真贯彻执行公司销售管理规定和实施细则,努力提高业务水平; 积极完成制定的销售目标,为客户提供主动、热情、满意及周到的服务; 与客户签订销售合同,督促合同正常如期履行,并积极催讨应收销售款项; 妥善解决在销售过程中出现的问题; 与管理处保持良好的沟通工作,协助客户作好收楼工作; 主动收集市场信息及客户意见,填写每日客户来访登记表、总结每周工作,认真填写销售总结报告; 按照公司的标准合同签约,严守公司商业机密,做到以公司利益为重并遵守公司的各项规章制度及国家的法律法规; 努力达到公司考核要求标准,认真圆满完成公司赋予的各项工作。 ●销售主任(组长) 监督本组销售代表的行为规范; 负责本组的销售工作及收集周边楼盘市场动态; 检查、汇总本组客户来访登记表; 努力提高本组的销售成绩;

C#中Reflection(反射)

C#中Reflection反射 反射(Reflection)是.NET中的重要机制,通过放射,可以在运行时获得.NET中每一个类型(包括类、结构、委托、接口和枚举等)的成员,包括方法、属性、事件,以及构造函数等。还可以获得每个成 员的名称、限定符和参数等。有了反射,即可对每一个类型了如指掌。如果获得了构造函数的信息, 即可直接创建对象,即使这个对象的类型在编译时还不知道。 程序代码在编译后生成可执行的应用,我们首先要了解这种可执行应用程序的结构。 应用程序结构分为应用程序域—程序集—模块—类型—成员几个层次,公共语言运行库加载器管理应 用程序域,这种管理包括将每个程序集加载到相应的应用程序域以及控制每个程序集中类型层次结构 的内存布局。 程序集包含模块,而模块包含类型,类型又包含成员,反射则提供了封装程序集、模块和类型的对象。我们可以使用反射动态地创建类型的实例,将类型绑定到现有对象或从现有对象中获取类型,然后调 用类型的方法或访问其字段和属性。反射通常具有以下用途。 (1)使用Assembly定义和加载程序集,加载在程序集清单中列出模块,以及从此程序集中查找类型 并创建该类型的实例。 (2)使用Module了解包含模块的程序集以及模块中的类等,还可以获取在模块上定义的所有全局方 法或其他特定的非全局方法。 (3)使用ConstructorInfo了解构造函数的名称、参数、访问修饰符(如pulic或private)和实现详 细信息(如abstract或virtual)等。使用Type的GetConstructors或GetConstructor方法来调用特 定的构造函数。 (4)使用MethodInfo了解方法的名称、返回类型、参数、访问修饰符(如pulic或private)和实现 详细信息(如abstract或virtual)等。使用Type的GetMethods或GetMethod方法来调用特定的方法。 (5)使用FiedInfo了解字段的名称、访问修饰符(如public或private)和实现详细信息(如static)等,并获取或设置字段值。 (6)使用EventInfo了解事件的名称、事件处理程序数据类型、自定义属性、声明类型和反射类型等,添加或移除事件处理程序。 (7)使用PropertyInfo了解属性的名称、数据类型、声明类型、反射类型和只读或可写状态等,获取或设置属性值。 (8)使用ParameterInfo了解参数的名称、数据类型、是输入参数还是输出参数,以及参数在方法签

Reflection essay

Reflection essay Parkway college student: HU DIE (NNDN 108025)

This is my first time come to A & E department for attachment. It is very different from what I think it all about. We can see some "interesting cases" here. Like one finger been cut off, fall down lead to head bleeding, very bad fever and most excited part is I saw some prison case. This is I never saw before. And I heard CGH is the only place treat the police case. First day we just do some orientation about this hospital. Know where is where, but I was very confuse that day. This area is very complicate for me. But second day I go to nurse station in the morning and observation room in the afternoon. In the nurse station, we do some treatment for patient. Like dressing, give nebulizer, give IM injection( e.g. ATT injection), do ECG, eye irrigation, sometimes fleet enema, guide the patients where to wait where to go for x ray, provide urine test bottle, and IV infusion Most time we are doing all this. The most impression case was the patient's finger be cut off, bleeding all over. He is really in pain. I feel very scared. Just stand there watch what the staff do. Stop bleeding. And send to the doctor. Then afternoon i went to observation room, in observation room, some patient come for observe only, but some wait for admission, send they to the ward, during this period, we do vital signs, HGT, give oxygen, monitor ECG depending on the patients' condition. Really can see some patients are very sick. And scream all over. We should calm they down, support their emotion. Luckily I got chance to stand in minor operation room, see two minor operation there. A child's head was bleeding because of fall down. And another case was drainage out the pus from the buttock. But I think one challenging place for nurses is triage, the nurse should ask every single patient about their history and current complain, pain score, then decide to send to which doctor's room. We must be very observing there. How the patient appears to you. Is he/she in pain? Or any other problems. Then the triage nurses will consultant the patient. Chart down the vital signs, if the patient has diabetes, check the hypocount, if blood pressure really high, we must check hypocount also. It's really a challenge place. If the patient is very sick, then the patient will be sending to resuscitate room straight away. I saw the nurses and doctors work together there. Resuscitate the patient, usually the patient in resuscitate room is very weak. And the doctors are very nice, teach us a lot, how to diagnose patient, assess patient. Most of the patients are elderly. Emergency case, the staffs there work very fast. Most of the patient will be done an ECG, vital signs, that's the basic things need to do to the patient there. We must learn to act fast there. Anything we do not understand must ask. The patients' life's are in our hands. I got one chance to do CPR in a real patient. The patient needs to be resuscitated. Find that in real situation is different from the theory, we no need to count how many compression have delivered, just do, finally we cannot save the patient's life. I really hope the theory in our book can happen, hope he can come back. But it never happens. Make me feel very sad. When the doctor said: wait for the line to be flat. Really feel so

浅谈团队中的激励机制

浅谈团队中的激励机制 摘要:在以人为本的管理理念下,激励管理机制可以极大限度的激发员工实现自我价值的热情,激励他们向教育目标靠近。在激励机制中充分利用心理效应的积极作用,合理规避心理效应的消极作用,让激励管理机制作用充分发挥。研究了工作团队的激励机制,特别分析了工作团队中的薪酬制度,机会主义倾向和解决的办法,一些过程评价方法及层次分析法在工作团队绩效测评中的应用。 关键词:激励管理机制、自我价值、手段、应用

Abstract: In a people-oriented management philosophy, the incentive management system can greatly stimulate the limits of the enthusiasm of staff to achieve self-worth and encourage them to close the aims of education. Make full use of the incentive mechanism the positive role of the psychological effects, reasonable to avoid the negative effects of the psychological effects, so that the role of incentive management system into full play. Study team incentives, in particular the analysis of work teams in the pay system, opportunistic tendencies and a solution, a number of process evaluation methods and analytic hierarchy process in the work team performance measurement application。 Keywords: Incentive management system、Self-worth、Means、Apply

Reflection Report

Bestandsnaam: Reflection Report Auteur: walenkampwalenkamp Versie nr.: 1 Datum 31 mei 2012 1 Reflection Report To keep you on track with the acquisition of your international competencies you are advised to work on your reflection report every week. Generally you can distinguish three phases in your foreign adventure: Start-up phase: settling in, what strikes you, challenges, loneliness, Middle phase: What has changed in your original goals, challenges and tasks, how are your expectations being met in reality, are you able to analyze and understand your experiences. Final phase: Finalize your reflection report, prepare for ‘culture shock’ upon return, focus on competencies acquired and capitalization. So you know what to do: acquire international competencies, and you will know what to produce to show what you have acquired (Reflection Report). The question now is: how are you going to consciously and purposefully acquire these competencies. The Vademecum will guide you. Contents 1. Experiences: keep track of experiences, and how they help you acquiring international competencies. a. What was the experience that made the biggest impression on you. What effect did it have on you? b. What was your best/worst experience? c. What are the most important things you learned? d. Go back to the challenges you anticipated before your departure , and to the competencies you thought you would need to cope with them. How do they correspond with your real experiences. Discuss what happened. e. What challenges did you meet and did you cope with them? f. Which competencies did you acquire, to what extent and how did you acquire them? 2. Prepare for your return: what do you expect, how are you going to handle that? 3. Capitalize on your study or internship abroad. a. Explain what you have experienced and how your expectations were met, or not. b. List the challenges you expected and the ones you actually encountered, and explain how you coped with them c. Discuss the international (professional, academic, linguistic, intercultural and personal) competencies you acquired and how they are of use in your future career. d. Explain what makes you a better candidate for a job than someone who did not go abroad. 4. Feedback on preparation module. We would like to hear from you what you found useful and what not, what you have missed and should be included. What can be done better and how.

团队激励机制的建立

团队激励机制的建立 【摘要】本文通过分析团队、团队成员,贯穿激励理论的运用,提出一种基于对绩效贡献率评价的共评法绩效评价理论,实现全套的团队激励机制的建立。 【关键词】团队团队成员过程激励结果激励共评法 21世纪的市场竞争更加的激烈,各组织中团队的作用日益突出,对团队的激励问题已经成为各企业提高竞争力的首要问题。团队是由致力于共同的宗旨和绩效目标、承担一定职责、技能互补的异质成员组成的群体。JIT、CIMS、BPR、敏捷制造等现代管理思想都指出并强调,未来的组织形式是充满活力的“团队”;“团队”中的成员是具有多种技能的“多面手”,享有高度的自主权和决策柔性。因此,对团队激励机制的研究是社会的走向,是企业的取胜的关键砝码。 一、团队的概念与作用 (一)团队概念 1.团队与群体的区别 我们把群体定义为:两个或两个以上相互作用和相互依赖的个体,为了实现某个特定目标而结合在一起。在工作群体(work group)中,成员通过相互作用,来共享信息,做出决策,帮助每个成员更好地承担起自己的责任。工作群体中的成员不一定要参与到需要共同努力的集体工作中,他们也不一定有机会这样做。因此,工作群体的绩效,仅仅是每个群体成员个人贡献的总和。在工作群体中,不存在一种积极的协同作用,能够使群体的总体绩效水平大于个人绩效之和。工作团队(work team)则不同,它通过其成员的共同努力能够产生积极协同作用,其团队成员努力的结果使团队的绩效水平远大于个体成员绩效的总和。图9-1明确展示了工作群体与工作团队的区别。 2.团队的概念 团队是由员工和管理层组成的一个共同体,该共同体合理利用每一个成员的知识和技能协同工作,解决问题,达到共同的目标。 (二)团队的作用 团队产生的最直接原因是联合更多的力量来解决单个人无法解决的问题,比如企业要开发一套ERP系统,就需要懂管理、懂计算机、懂生产、懂财务等等方面的专家,而几乎没有这样的通才,只有借助团队的力量。 1.提高组织的反应速度与灵活性 2.提升组织的运行效率(改进程序和方法) 3.增强组织的民主气氛,促进员工参与决策的过程,使决策更科学、更准确 4.团队成员互补的技能和经验可以应对多方面的挑战 5.在多变的环境中,团队比传统的组织更灵活,反应更迅速 二、团队成员的特点

teaching reflection(教学反思)

Teaching reflection Recently, I presented a few lectures to the students of ** College. What I have learnt from the practice of teaching is of great variety. At this moment, after a lecture of English teaching, I cannot help but to reflect on my experience. First of all, my beloved students range from the first year students to junior ones, from the specialty of statistics to English teaching. That is to say, it is necessary for me to employ different teaching methods in that the background information of them is of great difference. It is rather challenging for me to appeal to the interests of all the students. But, from my point of view, I have already tried my best to mobilize them to be involved into the progress of learning. Just as what the Silent Way holds, tell me and I forget; teach me and I remember; involve me and I learn. As for the students of statistics, I mainly use the traditional grammar-translation approach to teach the college English, partly because they are the freshmen and it is not a wise choice to impel them to reason some thought-provoking statements. Why is it not a wise choice? One day, one guy asked me for the answers of the exercises at the end of the unit. He reminded me that almost all of

创业团队组建管理与激励机制研究

创业团队组建管理与激励机制研究 摘要:大部分的新创企业是由创业团队组建的,团队创业已经成为现在主要的创业方式。本文基于双因素理论探讨了创业团队的组建与激励方式,结合新东方的案例分析了企业如何通过合理搭配团队人员、设计激励机制增加创业成功率。 Abstract:The vast majority of new ventures are founded and led by teams. New venture teams have become the main way of entrepreneurship. Based on the two-factor theory,the paper discusses two issues. First,how to form entrepreneurial teams?Second,how to incentive the members?Combined with the case of New Oriental Enterprise,the paper analyzes the ways of member selection,the design of incentive mechanism which increase the success rate of entrepreneurship. 关键词:创业团队;组建;管理;激励机制 Key words:entrepreneurial team;set up;management;incentive mechanism 中图分类号:F272.92 文献标识码:A 文章编号:1006-4311(2016)16-0068-04

Final learning reflection

Final learning reflection Skill development (1) What knowledge and skills do you need to have to be able to do your job? Do you have the necessary knowledge and skills? Did your study at university help you in preparing/not preparing you for co-op? Explain. My job is a web developer; I need to have at least this page encoding capabilities and basic graphic design concepts. Through the study of INTE2047 E-Business Systems 1 I have the most basic skills, code, development tools, etc. Not only that, I also need to have some knowledge of the database and the corresponding ability to communicate with other staff to facilitate daily communication. A better understanding of customer needs. And how to deal with difficult clients. And keep smile. In the RMIT University, the university teacher always gave us a lot of useful guidance, For example, how to make eye contact with people, how to speak, how to handle emergencies, how to organize work plans, and etc.so we quickly adapt to the work environment. (2) Identify at least three (3) skills (technical and non-technical) you have gained? Give evidence (using [S]situation [T]argot [A]action[R]exult) that you can then use to update your CV. ●Great technical skills S: We develop websites for customers, requires a strong technical capability to support T: In a short time to adapt to the company's high-strength code quiz, to survive in the technical examination! A: Extra code exercises every day R: Get the corresponding technical skills ●Great interpersonal skills that maintain good working relationships with clients and fellow employees. S: Good ability to communicate with others is that skills we must have in the work place. T: Maintain good relations with customers and other employees. A: Active communication with others, to know each other's needs. R: I got a lot of friends from my customers and other employees.

建立健全人才激励机制 促进人才队伍建设

建立健全人才激励机制促进人才队伍建设 ——学习党的十七大精神,加快我所人才发展的几点体会 党委委员组织人事处处长、党支部书记周更旺 胡锦涛总书记在党的十七大报告中指出:科学发展观,第一要义是发展,核心是以人为本,基本要求是全面协调可持续,根本方法是统筹兼顾。建立健全人才激励机制,是贯彻落实科学发展观,坚持以人为本,促进人才健康成长,激发人才活力和创造力的根本保证,是应对新科技挑战的客观需要,是知识经济的必然抉择,是留住人才的根本措施。 一、探索人才激励的有效形式 采取一定的激励方式调动人才的工作积极性,充分发挥人的作用。根据我所多年的实践,人才激励方式主要应有以下几种: 一是政策激励。党的正确政策是客观规律的反映,是最广大人民利益的集中体现,所以得民心、顺民意。在人才开发中要学会运用政策去调动人的积极性,我们在制定有关规定时,要注意同党和国家有关政策规定相符合,反映大多数人的利益。 二是目标激励。一个振奋人心、切实可行的奋斗目标,可以起到激励作用,进而增强组织的凝聚力和战斗力,使组织生机勃勃,人才忘我工作。但是目标既不能太高,也不能过低。太高,叫人们望而不可及,起不到激励作用。只有经过一番努力才能实现的目标,才具有激励作用。所以我们在设置目标时,要注意这些问题。同时要注意把组织的目标分解成每个人的目标,把个人的切身利益同组织的奋斗目标结合起来。 三是感情激励。人的任何认识和行为,都是在一定的情感推动下完成的。积极的情感可以焕发惊人的力量去克服困难,消极的情感则会大大妨碍工作的进行。所以我们在实施人才激励时,必须善于打动人的感情,赢得他们的信赖。

四是信任激励。人才在得到信任和关怀后,有利于形成一个和谐的心理气氛,就能产生荣誉感,激励责任感,增强事业心。所以对同我们共事的同志,要尊重他、信任他,委以重任,放手让他们开展工作,最大限度地激发他们的积极性、创造性和责任感。 五是成就激励。满足人才的成就欲望,使他们在事业上有所创造,有所作为,就会产生巨大的激励作用。所以我们在工作中,要学会一分为二观察和处理问题,要注意肯定他人的成绩,要注意他人职级待遇的合理晋升,要注意赋予他们适当的权力。 六是竞争激励。利用人们争强好胜的心理,组织竞争激励,可以产生良好的结果,如组织开展比、学、赶、帮、超活动,先进单位和先进个人评比表彰活动,树立典型,组织召开经验交流会和成果汇报会,做好对外宣传,搞好竞聘上岗等,在竞争激励中,要注意贯彻公开、公平、公正原则。 七是兴趣激励。工作的报酬就是工作本身。人才体会到工作的内在价值和意义后,就会真正为自己从事的工作积极努力,发挥自己最大力量。因此我们在组织工作时,就要深入搞好动员,讲清工作的目的意义和价值所在,最大限度地激发人们兴趣和积极性。同时要注意根据人才的兴趣爱好加强人才培养,让人才自由全面地发展。 八是关怀激励。要真正获得人才的心,首先要了解他们的所思所想和内心需求,并给予必要的关怀,以激发他们的积极性。 九是支持激励。人才在工作中遇到困难,如果能够及时得到支持,他就会以更大的热情加倍努力工作。因此,要尊重人才的首创精神,保护他们的积极性。对他们提出的合理化建议,要给予积极支持,并创造必要条件,尽量使他们的愿望得以实现。 十是民主激励。如果一个单位能够充分发扬民主,给予人才以参与决策和管理的机会,那么这个单位人才情绪和内部氛围就会处于最佳状态,就有利于调动他们的积极性。所以我们各级领导必须学会发扬民主,善于听取大家的意见和建议,不断改进和提高工作。

班级管理团队激励机制方案

东城街道孔村小学 班级管理团队激励机制方案 为进一步加强学校班级管理团队建设,激励全校教师从事班级管理工作,根据《临朐县教育局关于进一步完善中小学班级管理团队激励机制的意见》,结合学校实际,制定本方案。 一、领导小组 组长:王强 副组长:冯海颖 成员:孔凡孝姚平马永爱马风利孙晓 丁素香徐继红王明生周桂艳陈素艳 王建民马金科丁万元马居东 二、发放标准 自2017年1月起,按每班每月700元的标准发放。县财政按每班每月400元的标准予以保障,其余资金从学校现有的奖励性绩效工资中解决。 三、发放范围 学校全体班主任及其他参与班级管理的教师。 四、发放办法 县财政每年分两次分别拨付两个学期的班主任团队激励资金。学校按以下要求发放: 对县财政拨付的每班每月400元,首先按每位班主任每月不

超过200元的标准进行核算,其中不低于60%的资金平均发放给班主任,其余资金根据每月(或每季度、每学期)班主任考核的业绩发放。学校根据自己的实际,在广泛征求意见的基础上,确定班主任工作津贴的发放标准。另外的500元资金,根据班级管理团队成员的绩效考核成绩分配,班主任及其他参与班级管理的教师均参与分配。 五、具体要求 1.加强业绩考核。学校按照“建立激励机制、搞活内部分配、合理拉开差距、确保优劳优酬”的原则,制定《班主任工作业绩考核办法》和《班级管理团队成员工作绩效考核办法》。考核办法既要充分考虑班级管理的难度(如:班额大、学生小等因素),又要有利于调动干部和任课教师参与班级管理的积极性,切实发挥激励作用。 2.强化班主任队伍建设。建立健全班主任资格准入、岗前培训、竞争上岗、公示备案、评优激励等制度。学校的班主任竞争上岗一般安排在新学年开学前,班主任名单经公示后,分别报县教育局职成教科、基础教育科和财审科备案。学校每年对新上岗班主任进行培训,积极参加县教育局开展的“十佳百优”班主任评选活动,对长期担任班主任且工作成绩突出的教师在职称评聘、评优树先等方面优先安排。 3.完善全员育人导师制。学校进一步完善全员育人导师制、

反射(reflection)学习整理

反射学习整理 【摘要】 本文主要通过自己对反射机制的总结编写的文档,主要目的就是为了自己以后能可以参考温习也可以方便刚刚入门的同仁们学习指导,通过doc的编写相信可以在帮助别人的同时提高自己。 反射机制; Reflection API; 如何使用反射机制; 反射机制的应用举例; 第一节反射机制 什么是反射机制,说的通俗一些就是在java运行期间动态加载一些不确定的类对象,那么我们如何使用一个类的呢?当然大多数情况下我们是使用一个确定的类,然后通过在内存中的加载再使用之。 其实在一个project中会有很多类,虚拟机并不是在每一次运行时都将所有的类都进行加载然后解析的,是在我们使用的过程中才会被加载,这个大家可以看一下ClassLoader(在后期中我也会编写ClassLoader相关的文章总结) 反射机制提供的功能: 加载运行时才能确定的数据类型; 解析类的结构,获取其内部的信息; 能够操作的类型或者实例; 1. 访问属性; 2. 调用方法; 3. 创建新的对象; 以上的功能我会在接下来的文字中都进行阐述,然后每一个功能点都会通过代码的形式进行逐一的说明举例; 1.1动态加载类 Java虚拟机在运行是能加载的类型有如下几种: 类接口; 数组; 枚举; 注解(Annotation,可以参见我的另一篇文档,《java Annotation学习文档》); 基本数据类型; 在类加载的时候,JVM会自动加载上述类型对应的Class对象。 package com.wangwenjun.demo;

import java.util.ArrayList; public class ReflectionDemo1 { private final static String LIST_STRING="java.util.ArrayList"; //动态加载java.util.ArrayList的类路径 @SuppressWarnings("unchecked") public static void main(String[] args) { try { Class clazz=Class.forName(LIST_STRING); //通过反射获取运行时的Class ArrayList list=(ArrayList) clazz.newInstance(); //通过newInstance方法获取Object list.add("hello"); System.out.println(list.size()+":"+list.get(0)); } catch (ClassNotFoundException e) { e.printStackTrace(); } catch (InstantiationException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IllegalAccessException e) { // TODO Auto-generated catch block e.printStackTrace(); } } } 执行结果为:1:hello 通过上面的代码我们可以总结出来使用Reflection大致需要如下的几步: 获取目标对象的Class对象; 调用Class对象内省方法获取目标对类成员信息; 访问目标类的成员属性; 1.2解析类的结构 通过第一步的操作,我们获取了目标对象的class之后就可以解析出来class对应的内部结构;别不多说直接上代码,来看看如何解析出来目标对象; 我们定义一个Teacher类 package com.wangwenjun.demo; public class Teacher { private String username; private int age;