Policy Scope
The policy's scope specifies the conditions under which CentraSite is to execute the policy. It consists of two main parameters: Event Type and Object Type.
The Event Type parameter specifies the events to which the policy applies. An event represents a specific point during a registry operation when policies can be executed. Such points include the PreCreate event (the point in time just before
CentraSite saves a new instance of an object to the registry), the PostCreate event (the point immediately after
CentraSite saves a new instance of an object to the registry) and the PreDelete event (the point in time immediately before
CentraSite deletes an object). Other events include the points in time before and after an update operation and before and after a state change. For a complete list of the supported event types, see the
CentraSite User’s Guide .
The Object Type parameter specifies the types of objects to which the policy applies. Policies can be applied to any type of asset and to several other types of registry objects. For a complete list of the supported objects, see the
CentraSite User’s Guide .
Together, the event type and the object type determine when the policy will execute. You can make the scope as narrow or as broad as you need. That is, you can target the policy for one particular type of event and object (e.g., a PreDelete event on an XML Schema) or apply the policy to multiple events and objects (e.g., a PreCreate, PreUpdate or PreDelete event on an XML Schema, a Service or a BPEL Process).