br.gov.frameworkdemoiselle.bootstrap
Interface MainClass


public interface MainClass

Simple interface a class must implement to be started by the Demoiselle#runStarterClass(Class, String[]) utility method.

Author:
serpro

Method Summary
 void run(String[] args)
          Bootstrap CDI and run startup code for your application.
 

Method Detail

run

void run(String[] args)

Bootstrap CDI and run startup code for your application. This method will be automatically called when Demoiselle#runStarterClass(Class, String[]) is called passing this method's owner class.

Parameters:
args - The same arguments received by your main method.


Copyright © 2014 SERPRO - Serviço Federal de Processamento de Dados. All Rights Reserved.