java.lang.Objectorg.objectweb.telosys.common.TelosysObject
org.objectweb.telosys.common.TelosysFactory
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 |
public TelosysFactory(IExternalMainFactory extFactory)
extFactory
- the application factoryMethod Detail |
public ScreenContext createScreen(ScreenSession screenSession, java.lang.String sScreenName, int iScreenId) throws TelosysException
sScreenName
- screenSession
-
TelosysException
public ScreenData createScreenData(java.lang.String sScreenName) throws TelosysException
sScreenName
-
TelosysException
public IUserValidator getApplicationUserValidator()
public IApplicationLogger getApplicationLogger()
public IXmlWrapperProvider getXmlWrapperProvider()
public IServiceProvider getServiceProvider()