in process StartupPolicy


I am trying to implement a Cargo ( plugin and have a question about J2EEConfigurationFactory.createJ2EERunConfiguration(...). Apparently one has to specify a StartupPolicy: JavaCommandLineStartupPolicy or ExecutableObjectStartupPolicy.

Since Cargo already contains mechanisms to start all kinds of different appservers neither seems appropriate. Instead it would be desirable to be able to simply call the Cargo API in process (IntelliJ VM), as Cargo then will spawn other VM's if necessary.

Is there a simple way to achieve this?




Please sign in to leave a comment.