1 /*2 * Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).3 * Initial Developer: H2 Group4 */5 package org.h2.server;6 7 import java.sql.SQLException ;8 9 public interface Service {10 void init(String [] args) throws Exception ;11 String getURL();12 void start() throws SQLException ;13 void listen();14 void stop();15 boolean isRunning();16 boolean getAllowOthers();17 String getType();18 }19