/** * {@literal main} method that read JSON from STDIN. * <p>Passivation exceptions are written to STDERR if any.</p> * @param args Unused * @throws AssemblyException if the assembly failed * @throws ActivationException if the activation failed */ public static void main( String[] args ) throws ActivationException, AssemblyException { fromJson( System.in ).withPassivationShutdownHook().newApplication(); } }
/** * {@literal main} method that read JSON from STDIN. * <p>Passivation exceptions are written to STDERR if any.</p> * @param args Unused * @throws AssemblyException if the assembly failed * @throws ActivationException if the activation failed */ public static void main( String[] args ) throws ActivationException, AssemblyException { fromJson( System.in ).withPassivationShutdownHook().newApplication(); } }