org.jboss.blacktie.jatmibroker.jab
Class JABSessionAttributes

java.lang.Object
  extended by org.jboss.blacktie.jatmibroker.jab.JABSessionAttributes

public class JABSessionAttributes
extends java.lang.Object

Create a wrapper for the attributes to use for the sessions. The session attributes are used in the constructor to the JABSession.

See Also:
JABSession

Constructor Summary
JABSessionAttributes()
          Create the session attributes using the default configuration directory
JABSessionAttributes(java.lang.String configurationDirectory)
          Create the session attributes using a non-default directory
 
Method Summary
 java.util.Properties getProperties()
          Get the properties defined in the configuration file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JABSessionAttributes

public JABSessionAttributes()
                     throws JABException
Create the session attributes using the default configuration directory

Throws:
JABException - In case the configuration file cannot be accessed

JABSessionAttributes

public JABSessionAttributes(java.lang.String configurationDirectory)
                     throws JABException
Create the session attributes using a non-default directory

Parameters:
configurationDirectory - The directory to use
Throws:
JABException - In case the configuration file cannot be accessed
Method Detail

getProperties

public java.util.Properties getProperties()
Get the properties defined in the configuration file

Returns:
The configuration properties


Copyright © 2009. All Rights Reserved.