Server management APIs?? [message #135533] |
Mon, 29 August 2005 19:56 |
Don Sedota Messages: 18 Registered: July 2009 |
Junior Member |
|
|
I have recently upgraded from Eclipse 3.1M4 (with pre-WTP 0.7) to Eclipse
3.1 with WTP 0.7. With the previous configuration I was relying on a few
"internal" classes in org.eclipse.wst.server.ui to handle programatic
server startup based on a particular IModule instance. Apparently, these
APIs were not yet "internalized" as I was able to access them and use them
effectively (namely
org.eclipse.wst.server.ui.internal.actions.RunOnServerAction Delegate and
org.eclipse.wst.server.ui.internal.StartServerJob). Upon upgrading I
notice that these classes are no longer accessible (acess has been
restricted in the plugin), thus I can no longer leverage existing WST
functionality to locate and start a server. Admitedly, I probably
shouldn't have been instantiating RunOnServerActionDelegate in order to
call getServer(IModule, String, IProgressMonitor). However, I would expect
that the WST provide a generic, and accessible way to programatically
retrieve a server instance based on a module and start/stop that server
without having to hack something together.
Are there APIs currently available to do this that I am unaware of?
If not, are there plans to supply these APIs?
Thanks,
Don
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03619 seconds