1 /******************************************************************************* 2 * Copyright (c) 2005, 2006 Imola Informatica. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the LGPL License v2.1 5 * which accompanies this distribution, and is available at 6 * http://www.gnu.org/licenses/lgpl.html 7 *******************************************************************************/ 8 /** 9 * 10 */ 11 package it.imolinfo.jbi4cics.locator; 12 13 /** 14 * @author raffaele 15 * 16 */ 17 public interface ServiceLocation { 18 public final static int DUMMY=-1; 19 public final static int CICS=0; 20 public final static int IMS=1; 21 public final static int JDBC=2; 22 /*public final static int JMS=3; 23 public final static int MQ=4;*/ 24 25 /** 26 * Restituisce il nome della locazione: 27 * nel caso di CICS, IMS, JDBC, e JMS rappresenta il nome jndi, 28 * nel caso di JACADA rappresenta il nome del connection pool. 29 * @return String The location name 30 */ 31 public String getLocationName(); 32 33 /** 34 * 35 * @return The connection type 36 */ 37 public int getConnectionType(); 38 }