001: /*
002: * Copyright (c) 1998-2008 Caucho Technology -- all rights reserved
003: *
004: * This file is part of Resin(R) Open Source
005: *
006: * Each copy or derived work must preserve the copyright notice and this
007: * notice unmodified.
008: *
009: * Resin Open Source is free software; you can redistribute it and/or modify
010: * it under the terms of the GNU General Public License as published by
011: * the Free Software Foundation; either version 2 of the License, or
012: * (at your option) any later version.
013: *
014: * Resin Open Source is distributed in the hope that it will be useful,
015: * but WITHOUT ANY WARRANTY; without even the implied warranty of
016: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, or any warranty
017: * of NON-INFRINGEMENT. See the GNU General Public License for more
018: * details.
019: *
020: * You should have received a copy of the GNU General Public License
021: * along with Resin Open Source; if not, write to the
022: *
023: * Free Software Foundation, Inc.
024: * 59 Temple Place, Suite 330
025: * Boston, MA 02111-1307 USA
026: *
027: * @author Scott Ferguson
028: */
029:
030: package javax.xml.ws;
031:
032: import javax.xml.transform.Source;
033: import java.util.List;
034: import java.util.Map;
035: import java.util.concurrent.Executor;
036:
037: /** XXX */
038: public abstract class Endpoint {
039:
040: /** XXX */
041: public static final String WSDL_PORT = "javax.xml.ws.wsdl.port";
042:
043: /** XXX */
044: public static final String WSDL_SERVICE = "javax.xml.ws.wsdl.service";
045:
046: public Endpoint() {
047: }
048:
049: /** XXX */
050: public static Endpoint create(Object implementor) {
051: throw new UnsupportedOperationException();
052: }
053:
054: /** XXX */
055: public static Endpoint create(String bindingId, Object implementor) {
056: throw new UnsupportedOperationException();
057: }
058:
059: /** XXX */
060: public abstract Binding getBinding();
061:
062: /** XXX */
063: public abstract Executor getExecutor();
064:
065: /** XXX */
066: public abstract Object getImplementor();
067:
068: /** XXX */
069: public abstract List<Source> getMetadata();
070:
071: /** XXX */
072: public abstract Map<String, Object> getProperties();
073:
074: /** XXX */
075: public abstract boolean isPublished();
076:
077: /** XXX */
078: public abstract void publish(Object serverContext);
079:
080: /** XXX */
081: public abstract void publish(String address);
082:
083: /** XXX */
084: public static Endpoint publish(String address, Object implementor) {
085: throw new UnsupportedOperationException();
086: }
087:
088: /** XXX */
089: public abstract void setExecutor(Executor executor);
090:
091: /** XXX */
092: public abstract void setMetadata(List<Source> metadata);
093:
094: /** XXX */
095: public abstract void setProperties(Map<String, Object> properties);
096:
097: /** XXX */
098: public abstract void stop();
099:
100: }
|