it.imolinfo.jbi4cics.locator
Class SimpleLocation

java.lang.Object
  extended by it.imolinfo.jbi4cics.locator.SimpleLocation
All Implemented Interfaces:
ServiceLocation

public class SimpleLocation
extends java.lang.Object
implements ServiceLocation

Author:
raffaele

Field Summary
static java.lang.String CICS_TYPE
           
static java.lang.String DUMMY_TYPE
           
static java.lang.String IMS_TYPE
           
static java.lang.String JDBC_TYPE
           
 
Fields inherited from interface it.imolinfo.jbi4cics.locator.ServiceLocation
CICS, DUMMY, IMS, JDBC
 
Constructor Summary
SimpleLocation()
           
 
Method Summary
 int getConnectionType()
           
 java.lang.String getConnectionTypeName()
           
 java.lang.String getLocationName()
          Restituisce il nome della locazione: nel caso di CICS, IMS, JDBC, e JMS rappresenta il nome jndi, nel caso di JACADA rappresenta il nome del connection pool.
 void setConnectionType(int connectionType)
           
 void setConnectionTypeName(java.lang.String connectionTypeName)
           
 void setLocationName(java.lang.String locationName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DUMMY_TYPE

public static final java.lang.String DUMMY_TYPE
See Also:
Constant Field Values

CICS_TYPE

public static final java.lang.String CICS_TYPE
See Also:
Constant Field Values

IMS_TYPE

public static final java.lang.String IMS_TYPE
See Also:
Constant Field Values

JDBC_TYPE

public static final java.lang.String JDBC_TYPE
See Also:
Constant Field Values
Constructor Detail

SimpleLocation

public SimpleLocation()
Method Detail

getLocationName

public java.lang.String getLocationName()
Description copied from interface: ServiceLocation
Restituisce il nome della locazione: nel caso di CICS, IMS, JDBC, e JMS rappresenta il nome jndi, nel caso di JACADA rappresenta il nome del connection pool.

Specified by:
getLocationName in interface ServiceLocation
Returns:
String The location name

setLocationName

public void setLocationName(java.lang.String locationName)

getConnectionType

public int getConnectionType()
Specified by:
getConnectionType in interface ServiceLocation
Returns:
The connection type

setConnectionType

public void setConnectionType(int connectionType)

getConnectionTypeName

public java.lang.String getConnectionTypeName()
                                       throws LocationException
Returns:
The connectionTypeName
Throws:
LocationException - The locsation Exception

setConnectionTypeName

public void setConnectionTypeName(java.lang.String connectionTypeName)
                           throws LocationException
Parameters:
connectionTypeName - The connectionTypeName to set
Throws:
LocationException - The location exception


Copyright © 2005-2008 Imola Informatica. All Rights Reserved.