org.objectweb.telosys.common
Class TelosysFactory

java.lang.Object
  extended byorg.objectweb.telosys.common.TelosysObject
      extended byorg.objectweb.telosys.common.TelosysFactory

public class TelosysFactory
extends TelosysObject

Global TELOSYS factory.
It encapsulates and uses the "external factory" provided by the application


Constructor Summary
TelosysFactory(IExternalMainFactory extFactory)
          Constructs a new Telosys facory using the given external factory
 
Method Summary
 ScreenContext createScreen(ScreenSession screenSession, java.lang.String sScreenName, int iScreenId)
          Creates a new screen context using the "external factory"
 ScreenData createScreenData(java.lang.String sScreenName)
          Creates a new ScreenData using the "external factory"
 IApplicationLogger getApplicationLogger()
          Returns the ApplicationLogger from the "external factory"
 IUserValidator getApplicationUserValidator()
          Returns the UserValidator from the "external factory"
 IServiceProvider getServiceProvider()
          Returns the Service provider from the "external factory" or the default one
 IXmlWrapperProvider getXmlWrapperProvider()
          Return the XmlWrapperProvider from the "external factory" or the default one
 
Methods inherited from class org.objectweb.telosys.common.TelosysObject
error, error, error, getFlagTrace, info, setFlagTrace, trace, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TelosysFactory

public TelosysFactory(IExternalMainFactory extFactory)
Constructs a new Telosys facory using the given external factory

Parameters:
extFactory - the application factory
Method Detail

createScreen

public ScreenContext createScreen(ScreenSession screenSession,
                                  java.lang.String sScreenName,
                                  int iScreenId)
                           throws TelosysException
Creates a new screen context using the "external factory"

Parameters:
sScreenName -
screenSession -
Returns:
Throws:
TelosysException

createScreenData

public ScreenData createScreenData(java.lang.String sScreenName)
                            throws TelosysException
Creates a new ScreenData using the "external factory"

Parameters:
sScreenName -
Returns:
Throws:
TelosysException

getApplicationUserValidator

public IUserValidator getApplicationUserValidator()
Returns the UserValidator from the "external factory"

Returns:

getApplicationLogger

public IApplicationLogger getApplicationLogger()
Returns the ApplicationLogger from the "external factory"

Returns:

getXmlWrapperProvider

public IXmlWrapperProvider getXmlWrapperProvider()
Return the XmlWrapperProvider from the "external factory" or the default one

Returns:

getServiceProvider

public IServiceProvider getServiceProvider()
Returns the Service provider from the "external factory" or the default one

Returns: