com.apelon.beans.dts.plugin
Class DTSAppManager

java.lang.Object
  extended by com.apelon.beans.dts.plugin.DTSAppManager

public class DTSAppManager
extends Object

DTSAppManager provides the resources which are shared by DTS Beans.

Copyright: Copyright (c) 2004

Company: Apelon, Inc.

Since:
3.4.0
Version:
DTS 3.4.0
Author:
Abhay Sinha

Constructor Summary
DTSAppManager()
           
 
Method Summary
static Object getAttribute(Object key)
          Gets an attribute.
static Namespace getCurrentLoacalNamespace()
          Returns current local namespace or null if current local namespace is not set
static DTSQuery getQuery()
          Returns shared DTSQuery.
static String getUser()
          Returns user for Secure Socket or JDBC connection.
static void setAttribute(Object key, Object value)
          Sets an attribute to share between DTS components.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DTSAppManager

public DTSAppManager()
Method Detail

getQuery

public static DTSQuery getQuery()
Returns shared DTSQuery.

Returns:
shared DTSQuery

getUser

public static String getUser()
Returns user for Secure Socket or JDBC connection. For Socket connection, it returns blank. If there is no connection, this will return null.

Returns:
DTS user

getCurrentLoacalNamespace

public static Namespace getCurrentLoacalNamespace()
Returns current local namespace or null if current local namespace is not set

Returns:
Namespace

setAttribute

public static void setAttribute(Object key,
                                Object value)
Sets an attribute to share between DTS components.

Parameters:
key - an Object that is the key for this attribute
value - an Object this is the value of this attribute

getAttribute

public static Object getAttribute(Object key)
Gets an attribute.

Parameters:
key - an Object used to retrieve information from this manager
Returns:
an Object


Copyright © 2011. All Rights Reserved.