com.bankframe.fe.statemachine.base
Class ApplicationManagerFactory

java.lang.Object
  extended bycom.bankframe.fe.statemachine.base.ApplicationManagerFactory

public final class ApplicationManagerFactory
extends java.lang.Object


Constructor Summary
ApplicationManagerFactory()
           
 
Method Summary
static IApplicationManager getApplicationManager()
          Deprecated. use getApplicationManager(Properties).
static IApplicationManager getApplicationManager(java.util.Properties properties)
          Returns an instance of IApplicationManager based on the value of the ie.greasan.statemachine.ApplicationManager property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationManagerFactory

public ApplicationManagerFactory()
Method Detail

getApplicationManager

public static final IApplicationManager getApplicationManager()
                                                       throws StateMachineException
Deprecated. use getApplicationManager(Properties).

Returns an instance of IApplicationManager based on the value of the com.bankframe.fe.statemachine.base.ApplicationManager system property.

If the property is not set this returns an instance of com.bankframe.fe.statemachine.base.apploaders.jade.ApplicationManager.

Returns:
IApplicationManager instance
Throws:
StateMachineException - if the application manager cannot be created.
StateMachineException

getApplicationManager

public static final IApplicationManager getApplicationManager(java.util.Properties properties)
                                                       throws StateMachineException
Returns an instance of IApplicationManager based on the value of the ie.greasan.statemachine.ApplicationManager property.

If the property is not set this returns an instance of com.bankframe.fe.statemachine.base.apploaders.jade.ApplicationManager.

Parameters:
properties - A Properties containing the key 'com.bankframe.fe.statemachine.base.ApplicationManager'. This properties will also be passed into the ApplicationManager.
Returns:
IApplicationManager instance
Throws:
StateMachineException - if the application manager cannot be created.
StateMachineException


Copyright © 2005, 2007, Oracle. All rights reserved.