|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The IPortalRuntimeResources interface is used to provide access to certain resources maintained by the runtime implementation through the Portal Runtime API.
| Inner Class Summary | |
static class |
IPortalRuntimeResources.LocationType
Handles Location types |
| Field Summary | |
static IPortalRuntimeResources.LocationType |
LT_PRIVATE_DEPLOYMENT
Location type for the private home path example : |
static IPortalRuntimeResources.LocationType |
LT_PRIVATE_RESOURCES
Location type for private resources example : |
static IPortalRuntimeResources.LocationType |
LT_PRIVATE_SERVICES
Location type for private resources for services example : |
static IPortalRuntimeResources.LocationType |
LT_PRT_CLASSES
Location type for the portal classpath example : |
static IPortalRuntimeResources.LocationType |
LT_PRT_LIBS
Location type for the portal lib path example : |
static IPortalRuntimeResources.LocationType |
LT_PUBLIC_DEPLOYMENT
Location type for the public home path example : |
static IPortalRuntimeResources.LocationType |
LT_PUBLIC_RESOURCES
Location type for public resources example : |
static IPortalRuntimeResources.LocationType |
LT_PUBLIC_SERVICES
Location type for public resources for services example : |
static IPortalRuntimeResources.LocationType |
LT_SYSTEM_CONTENT
Location type for PRT content (for demo purposes only!) |
static IPortalRuntimeResources.LocationType |
LT_SYSTEM_DEPLOYMENT
Location type for system deployment example : |
static IPortalRuntimeResources.LocationType |
LT_SYSTEM_DEPLOYMENT_PCD
Location type for the PCD original content example : |
static IPortalRuntimeResources.LocationType |
LT_SYSTEM_DEPLOYMENT_TEMP
Location type for temporary files during the deployment example : |
static IPortalRuntimeResources.LocationType |
LT_SYSTEM_HOME
Home path to system resources example : |
static IPortalRuntimeResources.LocationType |
LT_SYSTEM_RESOURCES
Location type for system resources example : |
| Method Summary | |
IPortalComponent |
getDefaultPersonalizationDelegate()
Gets the runtime wide defined default personalization delegate |
java.io.File |
getLocation(IPortalRuntimeResources.LocationType locationType)
Retrieves a File object denoting the path to the location type specified. |
java.lang.String |
getPath(IPortalRuntimeResources.LocationType locationType)
Retrieves the full path to the location type specified. |
java.util.ResourceBundle |
getPortalBundle(java.util.Locale locale)
Gets a ResourceBundle that was defined for the whole Runtime. |
IResource |
getResource(java.lang.String resourceType,
java.io.File file)
Returns a IResource object to the file specified. |
IService |
getService(java.lang.String serviceName)
Gets a service by its name. |
IService |
getService(java.lang.String serviceName,
IServiceConfiguration aServiceConfiguration)
Deprecated. Note: do not use anymore |
IService |
getService(java.lang.String serviceName,
IServiceId aServiceID)
Deprecated. Note: do not use anymore |
| Field Detail |
public static final IPortalRuntimeResources.LocationType LT_PUBLIC_DEPLOYMENT
example :
public static final IPortalRuntimeResources.LocationType LT_PRIVATE_DEPLOYMENT
example :
public static final IPortalRuntimeResources.LocationType LT_PUBLIC_RESOURCES
example :
public static final IPortalRuntimeResources.LocationType LT_PRIVATE_RESOURCES
example :
public static final IPortalRuntimeResources.LocationType LT_PUBLIC_SERVICES
example :
public static final IPortalRuntimeResources.LocationType LT_PRIVATE_SERVICES
example :
public static final IPortalRuntimeResources.LocationType LT_SYSTEM_HOME
example :
public static final IPortalRuntimeResources.LocationType LT_SYSTEM_RESOURCES
example :
public static final IPortalRuntimeResources.LocationType LT_SYSTEM_DEPLOYMENT
example :
public static final IPortalRuntimeResources.LocationType LT_SYSTEM_DEPLOYMENT_PCD
example :
public static final IPortalRuntimeResources.LocationType LT_SYSTEM_DEPLOYMENT_TEMP
example :
public static final IPortalRuntimeResources.LocationType LT_SYSTEM_CONTENT
example :
public static final IPortalRuntimeResources.LocationType LT_PRT_LIBS
example :
public static final IPortalRuntimeResources.LocationType LT_PRT_CLASSES
example :
| Method Detail |
public java.util.ResourceBundle getPortalBundle(java.util.Locale locale)
locale - The Locale to fetch the ResourceBundle for.public IPortalComponent getDefaultPersonalizationDelegate()
public IService getService(java.lang.String serviceName)
serviceName - the fully qualified service name or its aliasIService
public IService getService(java.lang.String serviceName,
IServiceId aServiceID)
serviceName - name of the Service to accessaServiceID - the ID of the service to getIService,
IServiceId
public IService getService(java.lang.String serviceName,
IServiceConfiguration aServiceConfiguration)
serviceName - the name of the Service.aServiceConfiguration - the configuration of the ServiveIService,
IServiceConfiguration
public IResource getResource(java.lang.String resourceType,
java.io.File file)
restourceType - the resource typefile - the File object associated to this resourceIResourcepublic java.lang.String getPath(IPortalRuntimeResources.LocationType locationType)
public java.io.File getLocation(IPortalRuntimeResources.LocationType locationType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||