01: /**
02: * $Id: IWAYConnection.java,v 1.1 2005/03/14 09:21:14 nk137934 Exp $
03: * Copyright 2005 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.iwayutil.connection;
14:
15: /**
16: * This interface represents an IWay connection to the underlying
17: * EIS system. Connections are obtained using the {@link IWayConnectionFactory}.
18: * Obtained connections either be able to talk WebServices of JCA depending
19: * on the "iway.connectType" property in the properties file.
20: *
21: * @author nk137934
22: * @see IWayConnectionFactory
23: */
24: public interface IWAYConnection {
25:
26: /**
27: *
28: * @param request The Iway request that needs to be processed
29: * @return The Iway response object
30: */
31:
32: public IWAYResponse getResponse(IWAYRequest request)
33: throws IWAYConnectionException;
34:
35: }
|