Using System Properties for Deployment Descriptor Element Values

  GigaSpaces 5.X

Documentation Home
Quick Start Guide
Release Notes

Previous release

  Search Here
Searching GigaSpaces Platform 5.X Documentation

                                               

Summary: Declaring element values using system properties is accomplished by using the following format: ${propertyName}.

Overview

Element values can be derived from system properties. This is evident by looking at the declaration of product included deployment descriptors (computegrid.xml). The declaration of an element value using a system property is accomplished by using the following format: ${propertyName}

Expansion of system properties occurs when the Entry is parsed. The ${/} declaration refers to the file name separator character. The system property must be defined using the -Dproperty=value on the invocation of the JVM, or by programmtically adding the proeprty before the property declaration is resolved. For a list of system properties the Service Grid sets, see Javadoc. Adding system properties through configuration is explained [here].

The <Codebase> element provides additional support for the expansion of a system property at runtime. This allows the Service Grid to determine the value of a system property when it is accessed. The format of $[propertyName] is used for runtime system property expansion.

RELATED TOPICS

Declaring Elements Globally in Deployment Descriptor
Declaring Service UI in Deployment Descriptor
Deployment Descriptor Codebase Element
Deployment Descriptor DeploymentSchedule Element
Deployment Descriptor Parameters and Configuration Elements
Deployment Descriptor SharedComponent Element
Deployment Descriptor SLA Element
deploy - Service Grid CLI
Fixed and Dynamic ServiceBean ProvisionType
Injecting Deployment Descriptor Properties into POJOs
POJO Lifecycle in Service Grid
Proactive Cache
redeploy - Service Grid CLI
Rio OperationalString
Service Associations
Service Deployment Descriptor
Service Grid ClassLoader Hierarchy
undeploy - Service Grid CLI
Using Service Grid to Deploy Partitioned Space
Using Service Grid to Deploy Partitioned Space with Backup
Using Service Grid to Deploy Replicated Space
Using Service Grid to Deploy Space
Using Service Grid to Deploy Spring Applications
Using System Properties for Deployment Descriptor Element Values

Wiki Content Tree


Your Feedback Needed!

We need your help to improve this wiki site. If you have any suggestions or corrections, write to us at techw@gigaspaces.com. Please provide a link to the wiki page you are referring to.

Labels

 
  1. Sep 27, 2006

    Anonymous says:

    Example links are broken

    Example links are broken

Add Comment