public class IltDefaultContext extends IlpDefaultContext
If you intend to create a new kind of default context and you are
using Perforce JViews TGO predefined business classes, you should subclass
IltDefaultContext instead of IlpDefaultContext.
It will automatically add the Perforce 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, setPropertypublic 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()).IlpDefaultContextprotected IlpURLAccessService createURLAccessService()
IlpURLAccessService to be used
by this context.
This method is called only by the constructor.
createURLAccessService in class IlpDefaultContextIltDefaultURLAccessServiceprotected IlpBlinkingManager createBlinkingManager()
IlpBlinkingManager to be used by
this context.createBlinkingManager in class IlpDefaultContextIltDefaultBlinkingManagerprotected IlpClassManager createClassManager()
IlpClassManager to be used
by this context.
This method is called only by the constructor.
createClassManager in class IlpDefaultContextIltDefaultClassManagerprotected IlpImageRepository createImageRepository()
IlpImageRepository to be used
by this context.
This method is called only by the constructor.
createImageRepository in class IlpDefaultContextIltDefaultImageRepository© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.