Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] Breaking changes to IServer

My apologies for releasing this changes in the last week of M6, but I rather release the changes now than having to file for an exception in M7 and given the PMC more work in M7.

If you are implementing IServer, continue reading...

Today I have released changes to IServer that will break you. The changes deprecate the old .canControlModule(IModule[] module, IProgressMonitor monitor) and now introduce .canRestartModule(...) and .canPublishModule(...) to replace the function of the old one.

The changes should be pretty safe as they introduce new APIs and the old one is still kept. Nevertheless, the changes will break you if you implement org.eclipse.wst.server.core.IServer, which it is recommended to not be implemented. This changes have also gone into related classes such as:
# org.eclipse.wst.server.core.internal.Server
# org.eclipse.wst.server.core.model.ServerBehaviourDelegate

The code changes come as part of the discussion in bug# 293742, if you have any comments please use that bug to provide them.


Best Regards,
-- --
Mr. Angel Vera
Server Tools Developer
E-Mail: arvera@xxxxxxxxxx
Tel: 905-413-5919
Those who think that something is impossible,
should not interfere with those who are willing to do it. - Angel Vera

Back to the top