Eclipse Buddy Loading due to problems with Hibernate (Performance Question) [message #642110] |
Mon, 29 November 2010 21:17 |
No real name Messages: 5 Registered: June 2010 |
Junior Member |
|
|
Hello everybody,
I have a performance question according to buddy class loading. Following scenario: Bundle A contains Hibernate, Bundle B contains model classes which Hibernate must see. So I use Buddy Class Loading (policy: registered) and Hibernate can load the model classes. If there is another possibility than Buddy Class Loading then please let me know!!!
So to my question: How often registered plug-ins are searched for class definitions? Only one time when a class is first instantiated or every time a model class is instantiated.
Example: Class X is a model class and an object is created in Bundle A
for (int i = 0; i < 10; ++i) {
X x = new X();
}
In this case is the buddy class loading only used one time or ten times??
I hope someone can help me.
[Updated on: Tue, 30 November 2010 13:26] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02633 seconds