Hi,
You will still be able to use it as the SRX240H2 (which is EoL, you can buy it from distributor stock as long as it last).
15.1X49-D40 re-adds support for ethernet switching:
—Starting with Junos OS Release 15.1X49-D40, the enhanced Layer 2 transparent bridge mode and switching mode features are supported on SRX300, SRX320, SRX340, SRX345, and SRX550 devices.
--
Best regards,
Jonas Hauge