How to com.sun.star.comp.helper.Bootstrap.bootstrap() in headless?

How can I configure com.sun.star.comp.helper.Bootstrap.bootstrap() to start in headless mode? I’m using LO 5.0.2 in Ubuntu 14.04.

When I “ps -ax | grep office” and I saw the soffice was not started in headless.

5070 ? Sl 0:00 /usr/lib/libreoffice/program/oosplash --nologo --nodefault --norestore --nolockcheck --accept=pipe,name=uno5072697422139539223;urp;
5084 ? Sl 0:00 /usr/lib/libreoffice/program/soffice.bin --nologo --nodefault --norestore --nolockcheck --accept=pipe,name=uno5072697422139539223;urp;