org.aselect.server.attributes.requestors.jdbc
Class JDBCAttributeRequestor

java.lang.Object
  extended by org.aselect.server.attributes.requestors.GenericAttributeRequestor
      extended by org.aselect.server.attributes.requestors.jdbc.JDBCAttributeRequestor
All Implemented Interfaces:
IAttributeRequestor

public class JDBCAttributeRequestor
extends GenericAttributeRequestor


Field Summary
 
Fields inherited from class org.aselect.server.attributes.requestors.GenericAttributeRequestor
_configManager, _samAgent, _systemLogger
 
Constructor Summary
JDBCAttributeRequestor()
           
 
Method Summary
 void destroy()
          Clean up used resources.
 java.util.Hashtable getAttributes(java.util.Hashtable htTGTContext, java.util.Vector vAttributes)
          Retrieve the specified attributes.
 void init(java.lang.Object oConfig)
          Initialize the IAttributeRequestor implementation.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCAttributeRequestor

public JDBCAttributeRequestor()
Method Detail

init

public void init(java.lang.Object oConfig)
          throws ASelectException
Description copied from interface: IAttributeRequestor
Initialize the IAttributeRequestor implementation.

Parameters:
oConfig - The configuration section to use.
Throws:
ASelectException - If configuration fails.

getAttributes

public java.util.Hashtable getAttributes(java.util.Hashtable htTGTContext,
                                         java.util.Vector vAttributes)
                                  throws ASelectAttributesException
Description copied from interface: IAttributeRequestor
Retrieve the specified attributes.

Description:
Retrieve all known attributes or attributes that are specified in vAttributes.

Concurrency issues:
Must be a threadsafe implementation.

Preconditions:
Postconditions:
-

Parameters:
htTGTContext - the TGT context.
vAttributes - The attributes to gather.
Returns:
The retrieved attributes.
Throws:
ASelectAttributesException - If gathering fails.

destroy

public void destroy()
Description copied from interface: IAttributeRequestor
Clean up used resources.

Description:
Close all resources and stop running threads if applicable.

Concurrency issues:
-

Preconditions:
-

Postconditions:
The IAttributeRequestor implementation is stopped.


main

public static void main(java.lang.String[] args)


Copyright © 2008 SURFnet BV. All Rights Reserved.