Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Class Loading
 Post subject: Class Loading Post rating: 0   New post Posted: Thu 08 Dec, 2011, 08:12 

User rating: 0
Joined: Tue 22 Nov, 2011, 12:47
Posts: 130
Location: United States,
hi Support,

Dynamic class loading is discussed in the following article - https://www.dukascopy.com/wiki/index.php ... java_class

But actually it is not a full example since you don't show how to call methods on that interface implementation.

Can you please show how to -

1. Define an interface
2. Write an implementation class of #1
3. Dynamically load the interface and create an instance of the implementation (#2)
4. Invoke methods on the just created instance.

Thanks,
cb888trader.


 
 Post subject: Re: Class Loading Post rating: 0   New post Posted: Thu 08 Dec, 2011, 09:24 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
See:
https://java.sun.com/developer/technical ... eflection/


 

Jump to:  

  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com