org.apache.sling.jcr.ocm
Class OcmConstants

java.lang.Object
  extended by org.apache.sling.jcr.ocm.OcmConstants

public class OcmConstants
extends java.lang.Object

The OcmConstants interface provides constant values for event topics and event properties for events sent from this bundle.


Field Summary
static java.lang.String BUNDLE_RESOURCE_ROOTS
          The name of the bundle manifest header listing the resource provider root paths provided by the bundle (value is "Sling-Bundle-Resources").
static java.lang.String EVENT_MAPPING_ADDED
          The name of the event sent after new Object Mappings have been registered (value is "org/apache/sling/jcr/ocm/OCMEvent/MAPPED").
static java.lang.String EVENT_MAPPING_REMOVED
          The name of the event sent after Object Mappings have been unregistered (value is "org/apache/sling/jcr/ocm/OCMEvent/UNMAPPED").
static java.lang.String MAPPER_BUNDLE_HEADER
          The name of the bundle manifest header listing the bundle entries providing Object Content Mapping configurations (value is "Sling-Mappings").
static java.lang.String MAPPING_CLASS
          The name of the event property providing a String[] of class names mapped at the time the event is sent (value is "MAPPED_CLASS").
static java.lang.String MAPPING_NODE_TYPE
          The name of the event property providing a String[] of node types mapped at the time the event is sent (value is "MAPPED_NODE_TYPE").
static java.lang.String RESOURCE_EVENT
          The topic root for events published by this bundle (value is "org/apache/sling/jcr/ocm/OCMEvent").
 
Constructor Summary
OcmConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE_EVENT

public static final java.lang.String RESOURCE_EVENT
The topic root for events published by this bundle (value is "org/apache/sling/jcr/ocm/OCMEvent"). Event consumers should register to "org/apache/sling/jcr/ocm/OCMEvent/*" to receive all events from this bundle.

See Also:
Constant Field Values

EVENT_MAPPING_ADDED

public static final java.lang.String EVENT_MAPPING_ADDED
The name of the event sent after new Object Mappings have been registered (value is "org/apache/sling/jcr/ocm/OCMEvent/MAPPED").

Events of this topics have two additional properties: MAPPING_CLASS and MAPPING_NODE_TYPE.

See Also:
Constant Field Values

EVENT_MAPPING_REMOVED

public static final java.lang.String EVENT_MAPPING_REMOVED
The name of the event sent after Object Mappings have been unregistered (value is "org/apache/sling/jcr/ocm/OCMEvent/UNMAPPED").

Events of this topics have two additional properties: MAPPING_CLASS and MAPPING_NODE_TYPE.

See Also:
Constant Field Values

MAPPING_CLASS

public static final java.lang.String MAPPING_CLASS
The name of the event property providing a String[] of class names mapped at the time the event is sent (value is "MAPPED_CLASS"). This is the complete list of all classes which are supported by the content manager for mapping.

See Also:
Constant Field Values

MAPPING_NODE_TYPE

public static final java.lang.String MAPPING_NODE_TYPE
The name of the event property providing a String[] of node types mapped at the time the event is sent (value is "MAPPED_NODE_TYPE"). This is the complete list of all node types which are supported by the content manager for mapping.

See Also:
Constant Field Values

MAPPER_BUNDLE_HEADER

public static final java.lang.String MAPPER_BUNDLE_HEADER
The name of the bundle manifest header listing the bundle entries providing Object Content Mapping configurations (value is "Sling-Mappings").

See Also:
Constant Field Values

BUNDLE_RESOURCE_ROOTS

public static final java.lang.String BUNDLE_RESOURCE_ROOTS
The name of the bundle manifest header listing the resource provider root paths provided by the bundle (value is "Sling-Bundle-Resources").

See Also:
Constant Field Values
Constructor Detail

OcmConstants

public OcmConstants()


Copyright © 2007-2009. All Rights Reserved.