QuickServer mainqs= (QuickServer) handler.getServer().getStoreObjects()[0];
But as an experienced software developer that uses this tool for the sake of simplicity its a nasty hack and unreadable to access an object Array and cast the first element. Couldn’t yiu add a get Base Server method in quickserver that will throw a runtime Exception if used by the base server? It should in other words only be used by the admin server. A better way is to extend quickserver for the admin server so that the get base server method is only in the extending class. For ex QuickserverAdmin.
Jarl
--
You received this message because you are subscribed to the Google Groups "quickserver" group.
To view this discussion on the web visit https://groups.google.com/d/msg/quickserver/-/SLVIeRao5l8J.
To post to this group, send email to quick...@googlegroups.com.
To unsubscribe from this group, send email to quickserver...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/quickserver?hl=en.