// Path: ee7-jca-eis-rar-impl/src/main/java/org/darrylmiles/example/ee7/jca/eis/rar/Constants.java
// public class Constants {
// 
// 		public static final String PRODUCT_VERSION	= "0.1";
// 		public static final String PRODUCT_NAME		= "ExampleEisDriver";
// 
// 		public static final String ADAPTER_VERSION				= "0.1";
// 		public static final String ADAPTER_VENDOR_NAME				= "EIS Vendor Name";
// 		public static final String ADAPTER_NAME					= "EIS Name";
// 		public static final String ADAPTER_SHORT_DESCRIPTION			= "EIS Short Description";
// 		public static final String ADAPTER_DESCRIPTION				= "EIS Description";
// 		public static final String ADAPTER_EIS_TYPE				= "";
// 		public static final String ADAPTER_LICENSE_DESCRIPTION			= "GPL v2";
// 
// 		public static final String SPEC_VERSION					= "";
// 
// 		public static final String[] INTERACTION_SPECS_SUPPORTED		= new String[] {
// 			// FDCN of InteractionSpec types supports for auto-discovery
// 		};
// 
// 		public static final String JNDI_NAME = "java:/org.darrylmiles.example.ee7.jca.eis.rar/ResourceAdapterCustom";
// 
// }


import javax.resource.ResourceException;
import javax.resource.spi.ManagedConnectionMetaData;
import org.darrylmiles.example.ee7.jca.eis.rar.Constants;
package org.darrylmiles.example.ee7.jca.eis.rar.cci;




public class EisManagedConnectionMetaData implements ManagedConnectionMetaData {

	/**
	 * Default constructor
	 */
	public EisManagedConnectionMetaData() {
	}

	/**
	 * Returns Product name of the underlying EIS instance connected through the
	 * ManagedConnection.
	 *
	 * @return Product name of the EIS instance
	 * @throws ResourceException
	 *             Thrown if an error occurs
	 */
	@Override
	public String getEISProductName() throws ResourceException {
		return Constants.PRODUCT_NAME;
	}

	/**
	 * Returns Product version of the underlying EIS instance connected through
	 * the ManagedConnection.
	 *
	 * @return Product version of the EIS instance
	 * @throws ResourceException
	 *             Thrown if an error occurs
	 */
	@Override
	public String getEISProductVersion() throws ResourceException {
// Path: ee7-jca-eis-rar-impl/src/main/java/org/darrylmiles/example/ee7/jca/eis/rar/Constants.java
// public class Constants {
// 
// 		public static final String PRODUCT_VERSION	= "0.1";
// 		public static final String PRODUCT_NAME		= "ExampleEisDriver";
// 
// 		public static final String ADAPTER_VERSION				= "0.1";
// 		public static final String ADAPTER_VENDOR_NAME				= "EIS Vendor Name";
// 		public static final String ADAPTER_NAME					= "EIS Name";
// 		public static final String ADAPTER_SHORT_DESCRIPTION			= "EIS Short Description";
// 		public static final String ADAPTER_DESCRIPTION				= "EIS Description";
// 		public static final String ADAPTER_EIS_TYPE				= "";
// 		public static final String ADAPTER_LICENSE_DESCRIPTION			= "GPL v2";
// 
// 		public static final String SPEC_VERSION					= "";
// 
// 		public static final String[] INTERACTION_SPECS_SUPPORTED		= new String[] {
// 			// FDCN of InteractionSpec types supports for auto-discovery
// 		};
// 
// 		public static final String JNDI_NAME = "java:/org.darrylmiles.example.ee7.jca.eis.rar/ResourceAdapterCustom";
// 
// }


// Path: ee7-jca-eis-rar-impl/src/main/java/org/darrylmiles/example/ee7/jca/eis/rar/cci/EisManagedConnectionMetaData.java
import javax.resource.ResourceException;
import javax.resource.spi.ManagedConnectionMetaData;
import org.darrylmiles.example.ee7.jca.eis.rar.Constants;

package org.darrylmiles.example.ee7.jca.eis.rar.cci;




public class EisManagedConnectionMetaData implements ManagedConnectionMetaData {

	/**
	 * Default constructor
	 */
	public EisManagedConnectionMetaData() {
	}

	/**
	 * Returns Product name of the underlying EIS instance connected through the
	 * ManagedConnection.
	 *
	 * @return Product name of the EIS instance
	 * @throws ResourceException
	 *             Thrown if an error occurs
	 */
	@Override
	public String getEISProductName() throws ResourceException {
		return Constants.PRODUCT_NAME;
	}

	/**
	 * Returns Product version of the underlying EIS instance connected through
	 * the ManagedConnection.
	 *
	 * @return Product version of the EIS instance
	 * @throws ResourceException
	 *             Thrown if an error occurs
	 */
	@Override
	public String getEISProductVersion() throws ResourceException {
		return Constants.PRODUCT_VERSION;