public class IltDefaultContext extends IlpDefaultContext
If you intend to create a new kind of default context and you are
using Rogue Wave JViews TGO predefined business classes, you should subclass
IltDefaultContext
instead of IlpDefaultContext
.
It will automatically add the Rogue Wave JViews TGO predefined business classes
into the class manager.
Constructor and Description |
---|
IltDefaultContext()
Default constructor.
|
IltDefaultContext(Locale locale)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected IlpBlinkingManager |
createBlinkingManager()
Creates a
IlpBlinkingManager to be used by
this context. |
protected IlpClassManager |
createClassManager()
Creates a
IlpClassManager to be used
by this context. |
protected IlpImageRepository |
createImageRepository()
Creates a
IlpImageRepository to be used
by this context. |
protected IlpURLAccessService |
createURLAccessService()
Creates a
IlpURLAccessService to be used
by this context. |
addService, createClassLoaderService, createDataSourceManager, createInteractorManager, createMonitoringService, createSynchronizationStrategy, createTypeConverter, getBlinkingManager, getClassLoaderService, getClassManager, getDataSourceManager, getDocumentBase, getImageRepository, getInteractorManager, getLocale, getMonitoringService, getProperties, getProperty, getService, getServices, getStyleManager, getSynchronizationStrategy, getTypeConverter, getURLAccessService, removeService, setDeploymentFile, setDocumentBase, setLocale, setProperty
public IltDefaultContext()
Creates a context with the default locale.
IltDefaultContext(Locale)
public IltDefaultContext(Locale locale)
This class initializes the following services which replace the services from
IlpDefaultContext
:
IlpClassManager
interface):
The default is an instance of
IltDefaultClassManager
.
IlpBlinkingManager
interface):
The default is an instance of IltDefaultBlinkingManager
.
IlpURLAccessService
interface):
The default is an instance of IltDefaultURLAccessService
.
IlpImageRepository
interface):
The default is an instance of IltDefaultImageRepository
.
locale
- The locale to be used within this context.
If this parameter is null
,
the default locale will be used (see Locale.getDefault()
).IlpDefaultContext
protected IlpURLAccessService createURLAccessService()
IlpURLAccessService
to be used
by this context.
This method is called only by the constructor.
createURLAccessService
in class IlpDefaultContext
IltDefaultURLAccessService
protected IlpBlinkingManager createBlinkingManager()
IlpBlinkingManager
to be used by
this context.createBlinkingManager
in class IlpDefaultContext
IltDefaultBlinkingManager
protected IlpClassManager createClassManager()
IlpClassManager
to be used
by this context.
This method is called only by the constructor.
createClassManager
in class IlpDefaultContext
IltDefaultClassManager
protected IlpImageRepository createImageRepository()
IlpImageRepository
to be used
by this context.
This method is called only by the constructor.
createImageRepository
in class IlpDefaultContext
IltDefaultImageRepository
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.