JSlim  


com.gtcgroup.jslim
Class ServicesList

java.lang.Object
  extended bycom.gtcgroup.jslim.ServicesList

public final class ServicesList
extends java.lang.Object

The ServicesList object returns an ArrayList of strings for displaying the current state of values defined in the descriptor document(s).

Copyright (c) 1999 - 2004 by Global Technology Consulting Group, Inc. at gtcGroup.com.
Use is authorized, provided the source is acknowledged by inclusion of this copyright notice.

Since:
v. 1.0
Author:
MDT (MarvinToll@gtcGroup.com)

Field Summary
private  java.util.ArrayList alList
          List of headings and key/value pairs for display.
 
Constructor Summary
ServicesList()
          Constructor.
 
Method Summary
private  void addToList(java.lang.String strDisplay)
           
 java.util.ArrayList getConnectionsMetaData()
          Returns an ArrayList of connection(s) metadata.
 java.util.ArrayList getServicesList()
          Returns a complete ArrayList of services parsed by JSlim from one or more descriptor documents.
private  void loadConnectionsList()
           
private  void loadDescriptorList()
           
private  void packDescriptorList(int intServiceType)
           
private  void unpackMetaData(java.sql.Connection connection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

alList

private final java.util.ArrayList alList
List of headings and key/value pairs for display.

Constructor Detail

ServicesList

public ServicesList()
Constructor.

Method Detail

getServicesList

public final java.util.ArrayList getServicesList()
                                          throws JSlimException
Returns a complete ArrayList of services parsed by JSlim from one or more descriptor documents.

Returns:
An ArrayList of services.
Throws:
JSlimException - if an exception encountered.

getConnectionsMetaData

public final java.util.ArrayList getConnectionsMetaData()
Returns an ArrayList of connection(s) metadata. The method will obtain a connection from each _ConnectionX service and provide complete DatabaseMetaData.

Returns:
An ArrayList of connection(s) metadata.

loadDescriptorList

private void loadDescriptorList()
                         throws JSlimException
Throws:
JSlimException

packDescriptorList

private void packDescriptorList(int intServiceType)
                         throws JSlimException
Throws:
JSlimException

loadConnectionsList

private void loadConnectionsList()

unpackMetaData

private void unpackMetaData(java.sql.Connection connection)

addToList

private void addToList(java.lang.String strDisplay)

JSlim  


Copyright (c) 1999 - 2004 by Global Technology Consulting Group, Inc. at gtcGroup.com.
Use is authorized, provided the source is acknowledged by inclusion of this copyright notice.