ilog.cpl.service
Interface IlpContext

All Known Implementing Classes:
IlpDefaultContext, IltDefaultContext, IltDefaultContext, IltFacesDefaultContext

public interface IlpContext

Provides contextual information and services.

Since:
JTGO 3.0

Method Summary
 IlpBlinkingManager getBlinkingManager()
          Returns the blinking manager service.
 IlpClassLoaderService getClassLoaderService()
          Returns the class loader service.
 IlpMutableClassManager getClassManager()
          Returns the class manager.
 IlpMutableDataSourceManager getDataSourceManager()
          Returns the data source manager.
 IlpImageRepository getImageRepository()
          Returns the image repository.
 IlpMutableInteractorManager getInteractorManager()
          Returns the interactor manager.
 Locale getLocale()
          Returns the locale.
 IlpMonitoringService getMonitoringService()
          Returns the monitoring service.
 Map getProperties()
          Returns all the properties of this context in the form of a Map containing property names as keys mapped to values.
 Object getProperty(String name)
          Returns a property value of the context.
 Object getService(Class serviceClass)
          Retrieves a service by its Java class.
 Collection getServices()
          Retrieves the list of available service classes as a collection.
 IlpStyleManager getStyleManager()
          Deprecated. The Style API has been replaced by the Cascading Style Sheet mechanism. Please refer to the User's Manual for further information.
 IlSynchronizationStrategy getSynchronizationStrategy()
          Returns the synchronization strategy.
 IlpTypeConverter getTypeConverter()
          Returns the type converter.
 IlpURLAccessService getURLAccessService()
          Returns the URL access service.
 

Method Detail

getLocale

Locale getLocale()
Returns the locale.

Returns:
The locale used within this context.

getProperty

Object getProperty(String name)
Returns a property value of the context.

Parameters:
name - The name of the property.
Returns:
The property value corresponding to the name. It may be null.

getProperties

Map getProperties()
Returns all the properties of this context in the form of a Map containing property names as keys mapped to values.

Returns:
All the properties of the context in the form of a Map.

getURLAccessService

IlpURLAccessService getURLAccessService()
Returns the URL access service.

Note: Calling this method is equivalent to the following code:
(IlpURLAccessService)getService(IlpURLAccessService.class)

Returns:
The URL access service.

getClassManager

IlpMutableClassManager getClassManager()
Returns the class manager.

Note: Calling this method is equivalent to the following code:
(IlpMutableClassManager)getService(IlpClassManager.class)

Returns:
The class manager.

getDataSourceManager

IlpMutableDataSourceManager getDataSourceManager()
Returns the data source manager.

Note: Calling this method is equivalent to the following code:
(IlpMutableDataSourceManager)getService(IlpDataSourceManager.class)

Returns:
The data source manager.

getStyleManager

IlpStyleManager getStyleManager()
Deprecated. The Style API has been replaced by the Cascading Style Sheet mechanism. Please refer to the User's Manual for further information.

Returns the style manager.

Note: Calling this method is equivalent to the following code:
(IlpStyleManager)getService(IlpStyleManager.class)

Returns:
The style manager.
Deprecated Since:
JTGO 3.5

getInteractorManager

IlpMutableInteractorManager getInteractorManager()
Returns the interactor manager.

Note: Calling this method is equivalent to the following code:
(IlpMutableInteractorManager)getService(IlpInteractorManager.class)

Returns:
The interactor manager.

getBlinkingManager

IlpBlinkingManager getBlinkingManager()
Returns the blinking manager service.

Note: Calling this method is equivalent to the following code:
(IlpBlinkingManager)getService(IlpBlinkingManager.class)

Returns:
The blinking manager service.

getSynchronizationStrategy

IlSynchronizationStrategy getSynchronizationStrategy()
Returns the synchronization strategy.

Note: Calling this method is equivalent to the following code:
(IlSynchronizationStrategy)getService(IlSynchronizationStrategy.class)

Returns:
The synchronization strategy.

getTypeConverter

IlpTypeConverter getTypeConverter()
Returns the type converter.

Note: Calling this method is equivalent to the following code:
(IlpTypeConverter)getService(IlpTypeConverter.class)


getImageRepository

IlpImageRepository getImageRepository()
Returns the image repository.

Note: Calling this method is equivalent to the following code:
(IlpImageRepository)getService(IlpImageRepository.class)


getMonitoringService

IlpMonitoringService getMonitoringService()
Returns the monitoring service. Note: Calling this method is equivalent to the following code:
(IlpMonitoringService)getService(IlpMonitoringService.class)

Returns:
The monitoring service.
Since:
JViews 7.5

getClassLoaderService

IlpClassLoaderService getClassLoaderService()
Returns the class loader service. Note: Calling this method is equivalent to the following code:
(IlpClassLoaderService)getService(IlpClassLoaderService.class)

Returns:
The class loader service.
Since:
JTGO 4.5

getService

Object getService(Class serviceClass)
Retrieves a service by its Java class.

Parameters:
serviceClass - The Java class to be implemented by the returned service.
Returns:
A service that implements the given class.

getServices

Collection getServices()
Retrieves the list of available service classes as a collection.



Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.