Interface VitamApplication<A extends VitamApplication<A,C>,C extends VitamApplicationConfiguration>
-
- Type Parameters:
A
- The VitamApplication final classC
- The VitamApplicationConfiguration final class
- All Superinterfaces:
VitamApplicationInterface<A,C>
public interface VitamApplication<A extends VitamApplication<A,C>,C extends VitamApplicationConfiguration> extends VitamApplicationInterface<A,C>
VitamApplication Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.jetty.server.Handler
getApplicationHandlers()
java.lang.String
getConfigFilename()
Return the name as a string of your configuration file.C
getConfiguration()
java.lang.Class<C>
getConfigurationType()
void
run()
Start the server as full daemon and blockingvoid
setConfiguration(C configuration)
Allow to override this method in Junit-
Methods inherited from interface fr.gouv.vitam.common.server.application.VitamApplicationInterface
getVitamServer, start, stop
-
-
-
-
Method Detail
-
getConfigFilename
java.lang.String getConfigFilename()
Return the name as a string of your configuration file. Example : "logbook.conf" Could be overridden if necessary- Returns:
- the name of the application configuration file
-
getConfiguration
C getConfiguration()
- Returns:
- the configuration
-
setConfiguration
void setConfiguration(C configuration)
Allow to override this method in Junit- Parameters:
configuration
-
-
getConfigurationType
java.lang.Class<C> getConfigurationType()
- Returns:
- the Configuration Class
-
getApplicationHandlers
org.eclipse.jetty.server.Handler getApplicationHandlers()
- Returns:
- the application Handler
-
run
void run() throws VitamApplicationServerException
Start the server as full daemon and blocking- Throws:
VitamApplicationServerException
-
-