Nucleus properties files use several special properties that are indicated by a leading $ character:

Property

Description

$class

The component’s Java class.

$scope

The scope of the component (global, session, or request). The default value is global. See the Component Scopes section in this chapter.

$description

A brief description of the component, for display in the ATG Control Center Components task areas.

$basedOn

The Nucleus path of another component that will supply configuration property values for the current component. See Basing a Component on another Component.

$instanceFactory

Specifies the Nucleus path of a component that is based on a class that implements the atg.nucleus.InstanceFactory interface. Nucleus will call the createInstance method of this component to instantiate the component you are configuring.

For example, you can use the $instanceFactory property to create components that have parameterized constructors. See Parameterized Constructors.

$description

Given a large number of components in a typical Nucleus application, it can be helpful to document what each component does. You can document your components using the $description property. For instance, you might describe a Person component like this:

$description=Holds name and age traits of users

Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices