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)
           
 
Method Summary
 ScreenContext createScreen(ScreenSession screenSession, java.lang.String sScreenName, int iScreenId)
          Create a new screen context using the "external factory"
 ScreenData createScreenData(java.lang.String sScreenName)
          Create a new ScreenData using the "external factory"
 IApplicationLogger getApplicationLogger()
           
 IUserValidator getApplicationUserValidator()
          Return a UserValidator from the "external factory"
 IServiceProvider getServiceProvider()
          Return a Service provider from the "external factory"
 IXmlWrapperProvider getXmlWrapperProvider()
          Return a XmlWrapperProvider from the "external factory"
 
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)
Method Detail

createScreen

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

Parameters:
sScreenName -
screenSession -
Returns:
Throws:
TelosysException

createScreenData

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

Parameters:
sScreenName -
Returns:
Throws:
TelosysException

getApplicationUserValidator

public IUserValidator getApplicationUserValidator()
Return a UserValidator from the "external factory"

Returns:

getApplicationLogger

public IApplicationLogger getApplicationLogger()

getXmlWrapperProvider

public IXmlWrapperProvider getXmlWrapperProvider()
Return a XmlWrapperProvider from the "external factory"

Returns:

getServiceProvider

public IServiceProvider getServiceProvider()
Return a Service provider from the "external factory"

Returns: