Redian新闻
>
PhD openings in Materials Science, Engineering, and Commerc (转载)
avatar
PhD openings in Materials Science, Engineering, and Commerc (转载)# ChemEng - 化学工程
d*e
1
手头有一个大的java程序,没有它的源代码。这个程序里有一个类,我想改变它的几个
method的功能, 就开发了一个新的类,interface保持相同. 我能不能在这个程序运行
时,让这个新的类自动替换掉旧的类?
avatar
c*s
2
【 以下文字转载自 Chemistry 讨论区 】
发信人: carinos (Carinos), 信区: Chemistry
标 题: PhD openings in Materials Science, Engineering, and Commercialization Program
发信站: BBS 未名空间站 (Mon Nov 14 00:52:52 2011, 美东)
PhD openings available in Materials Science, Engineering, and
Commercialization Program at Texas State University
Candidates will be trained in both traditional materials science and
engineering, and technology commercialization, thus potentially a better
chance for an industry job after graduation
Basic requirements: Master Degree by the end of 2011, GRE 1150 or higher,
TOEFL 78 or higher
Stipend: $32,000 (need pay ca. $7,000 tuition per year), thus net stipend:
ca. $25,000
Please see details at: http://www.gradcollege.txstate.edu/Prospect_Students/Pgms_Apps/Doctoral/MSEC.html
Two PhD openings (in general materials science field) available starting
from 2012 Spring Admission (application deadline: Nov 30, 2011) in Dr. Sun’
s group. To apply, please send a current CV including the names and contact
information of three references to L**[email protected]
avatar
s*8
3
If the client code is programmed to the interface, and acquire the reference
via injection or lookup, you can tweak the configuration the provide your
impl. If it's direct instantiation, this option won't work.
Then you can try attach a java agent and in its pre-main method enhance the byte code and substitue it.
avatar
r*l
4
Can also try AspectJ.

reference
the byte code and substitue it.

【在 s***8 的大作中提到】
: If the client code is programmed to the interface, and acquire the reference
: via injection or lookup, you can tweak the configuration the provide your
: impl. If it's direct instantiation, this option won't work.
: Then you can try attach a java agent and in its pre-main method enhance the byte code and substitue it.

avatar
g*g
5
Well, if you are sure there's no license issue. Just remove the
class, have your class in the right package, compiled, put it back in the
jar.

【在 d******e 的大作中提到】
: 手头有一个大的java程序,没有它的源代码。这个程序里有一个类,我想改变它的几个
: method的功能, 就开发了一个新的类,interface保持相同. 我能不能在这个程序运行
: 时,让这个新的类自动替换掉旧的类?

avatar
e*t
6
yeah, definitely check the license and talk to somebody who deals with
license in your organization to make sure it own't bite you later.
What goodbug said is the simplest solution. If you in control of the
classpath, you may also try to put your class on the classpath before this
jar.

【在 g*****g 的大作中提到】
: Well, if you are sure there's no license issue. Just remove the
: class, have your class in the right package, compiled, put it back in the
: jar.

avatar
k*p
7
decompile and customize/subclass it
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。