diff options
author | Jon Bratseth <bratseth@oath.com> | 2018-03-20 21:23:51 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@oath.com> | 2018-03-20 21:23:51 +0100 |
commit | 75df844174e47bec91a3067ab50b16a9833fd5f0 (patch) | |
tree | 50770bc317f9cff020751ae4c8f6b1919423fd9b /jdisc_core | |
parent | 601b4777257e9d1694bdc6987d2b63ee6ccf52dc (diff) |
Allow applications to request exlcusive access to hosts
Diffstat (limited to 'jdisc_core')
-rw-r--r-- | jdisc_core/src/main/java/com/yahoo/jdisc/application/Application.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/jdisc_core/src/main/java/com/yahoo/jdisc/application/Application.java b/jdisc_core/src/main/java/com/yahoo/jdisc/application/Application.java index 98e107ee351..74546951f15 100644 --- a/jdisc_core/src/main/java/com/yahoo/jdisc/application/Application.java +++ b/jdisc_core/src/main/java/com/yahoo/jdisc/application/Application.java @@ -7,35 +7,35 @@ import com.yahoo.jdisc.service.ClientProvider; import com.yahoo.jdisc.service.ServerProvider; /** - * <p>This interface defines the API of the singleton Application that runs in a jDISC instance. An Application instance + * This interface defines the API of the singleton Application that runs in a jDISC instance. An Application instance * will always have its {@link #destroy()} method called, regardless of whether {@link #start()} or {@link #stop()} - * threw any exceptions.</p> + * threw any exceptions. * - * @author <a href="mailto:simon@yahoo-inc.com">Simon Thoresen</a> + * @author Simon Thoresen */ public interface Application { /** - * <p>This method is called by the {@link ApplicationLoader} just after creating this Application instance. Use this + * This method is called by the {@link ApplicationLoader} just after creating this Application instance. Use this * method to start the Application's worker thread, and to activate a {@link Container}. If you attempt to call * {@link ContainerActivator#activateContainer(ContainerBuilder)} before this method is invoked, that call will * throw an {@link ApplicationNotReadyException}. If this method does not throw an exception, the {@link #stop()} - * method will be called at some time in the future.</p> + * method will be called at some time in the future. */ void start(); /** - * <p>This method is called by the {@link ApplicationLoader} after the corresponding signal has been issued by the + * This method is called by the {@link ApplicationLoader} after the corresponding signal has been issued by the * controlling start script. Once this method returns, all calls to {@link * ContainerActivator#activateContainer(ContainerBuilder)} will throw {@link ApplicationNotReadyException}s. Use - * this method to prepare for termination (see {@link #destroy()}).</p> + * this method to prepare for termination (see {@link #destroy()}). */ void stop(); /** - * <p>This method is called by the {@link ApplicationLoader} after first calling {@link #stop()}, and all previous + * This method is called by the {@link ApplicationLoader} after first calling {@link #stop()}, and all previous * {@link DeactivatedContainer}s have terminated. Use this method to shut down all Application components such as - * {@link ClientProvider}s and {@link ServerProvider}s.</p> + * {@link ClientProvider}s and {@link ServerProvider}s. */ void destroy(); |