coherence-community / oracle-bedrock

Oracle Bedrock
Other
55 stars 31 forks source link

Introduce the ability to request the Operating System for a Platform #396

Closed brianoliver closed 7 years ago

brianoliver commented 7 years ago

As an application developer, often the applications I launch have operating system specific behaviors / configuration. To support launching applications that have operating system specific configurations, it's important that we can determine the operating system information from the Platform on which the application is being launched.

The proposal is to introduce an OperatingSystem class/interface, that can be acquired from a Platform. This may then be used to customize launching applications.

brianoliver commented 7 years ago

Initial implementation will auto-detect the correct OperatingSystem for the LocalPlatform and JavaVirtualMachine platforms. All others are manually set to (assumed to be) generic Linux, including RemotePlatforms and VirtualPlatforms.