Code: Select all
Zone extension:
MongoDB.java <--- I want to access this class
Room extension:
Main.java
ZoneExtensionReference <--- From this reference
Thank you.
Code: Select all
Zone extension:
MongoDB.java <--- I want to access this class
Room extension:
Main.java
ZoneExtensionReference <--- From this reference
Lapo wrote:By default the two classes would be in two separate class loaders, so the default answer is ... no.
Of course you can use other ways to achieve what you're asking:
http://docs2x.smartfoxserver.com/Advanc ... assLoading
such as deploying the common classes in the top class loader, or even the whole extension code if you don't mind giving up runtime reloading.
Hope it helps
Users browsing this forum: No registered users and 53 guests