Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] equinox console optionality of available commands

I understand the desire to remove exit since that does a System.exit.  But shutdown and close just do a system bundle stop.  You  likely don't want to disable the stop command altogether, but if you don't the user can still easily run 'stop 0' to get the same thing as shutdown and close.  BTW, I am fine with removing shutdown and close altogether since they are the same as 'stop 0' really.

Tom





From:        Raymond Auge <raymond.auge@xxxxxxxxxxx>
To:        Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
Date:        03/26/2015 01:35 PM
Subject:        [equinox-dev] equinox console optionality of available commands
Sent by:        equinox-dev-bounces@xxxxxxxxxxx




Would people object to a change in equinox.console which would optionally allow for specific commands not to be published?

For instance, when running equinox embedded we're controlling the lifecycle of the framework along with the lifecycle of the embedding application.

I would like to not expose the shutdown related commands which are there.


exit, close, shutdown are commands I'd like to be able to not provide.

--
Raymond AugĂ© (@rotty3000)
Senior Software Architect Liferay, Inc. (@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance (@OSGiAlliance)_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Back to the top