diff options
Diffstat (limited to 'jetty-ant/src/main/java/org/eclipse/jetty/ant/utils/ServerProxy.java')
-rw-r--r-- | jetty-ant/src/main/java/org/eclipse/jetty/ant/utils/ServerProxy.java | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/jetty-ant/src/main/java/org/eclipse/jetty/ant/utils/ServerProxy.java b/jetty-ant/src/main/java/org/eclipse/jetty/ant/utils/ServerProxy.java new file mode 100644 index 0000000000..9ac07b1dbd --- /dev/null +++ b/jetty-ant/src/main/java/org/eclipse/jetty/ant/utils/ServerProxy.java @@ -0,0 +1,40 @@ +// +// ======================================================================== +// Copyright (c) 1995-2012 Sabre Holdings. +// ------------------------------------------------------------------------ +// All rights reserved. This program and the accompanying materials +// are made available under the terms of the Eclipse Public License v1.0 +// and Apache License v2.0 which accompanies this distribution. +// +// The Eclipse Public License is available at +// http://www.eclipse.org/legal/epl-v10.html +// +// The Apache License v2.0 is available at +// http://www.opensource.org/licenses/apache2.0.php +// +// You may elect to redistribute this code under either of these licenses. +// ======================================================================== +// + + +package org.eclipse.jetty.ant.utils; + +public interface ServerProxy +{ + + /** + * Adds a new web application to this server. + * + * @param webApp a WebApplicationProxy object. + * @param scanIntervalSeconds + */ + public void addWebApplication(WebApplicationProxy webApp, int scanIntervalSeconds); + + /** + * Starts this server. + */ + public void start(); + + public Object getProxiedObject(); + +}
\ No newline at end of file |