Return-Path: X-Original-To: apmail-felix-commits-archive@www.apache.org Delivered-To: apmail-felix-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1C7DBDC7F for ; Thu, 10 Jan 2013 14:24:43 +0000 (UTC) Received: (qmail 55414 invoked by uid 500); 10 Jan 2013 14:24:43 -0000 Delivered-To: apmail-felix-commits-archive@felix.apache.org Received: (qmail 55394 invoked by uid 500); 10 Jan 2013 14:24:43 -0000 Mailing-List: contact commits-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list commits@felix.apache.org Received: (qmail 55387 invoked by uid 99); 10 Jan 2013 14:24:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2013 14:24:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2013 14:24:23 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 3CDB023888D2; Thu, 10 Jan 2013 14:24:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1431382 [1/8] - in /felix/site/trunk/content/ipojo/schemas: ./ 0.9.0-SNAPSHOT/ 1.0.0/ 1.1.0-SNAPSHOT/ 1.2.0/ 1.3.0-SNAPSHOT/ 1.4.0/ 1.5.0-SNAPSHOT/ 1.6.0/ 1.6.2/ 1.7.0-SNAPSHOT/ 1.8.0/ 1.9.0-SNAPSHOT/ Date: Thu, 10 Jan 2013 14:23:57 -0000 To: commits@felix.apache.org From: fmeschbe@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130110142401.3CDB023888D2@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: fmeschbe Date: Thu Jan 10 14:23:55 2013 New Revision: 1431382 URL: http://svn.apache.org/viewvc?rev=1431382&view=rev Log: add schemas again Added: felix/site/trunk/content/ipojo/schemas/ felix/site/trunk/content/ipojo/schemas/.htaccess felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/ felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/composite.xsd felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/core.xsd felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/event-admin.xsd felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/extender-pattern.xsd felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/jmx.xsd felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/temporal.xsd felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/whiteboard-pattern.xsd felix/site/trunk/content/ipojo/schemas/1.0.0/ felix/site/trunk/content/ipojo/schemas/1.0.0/composite.xsd felix/site/trunk/content/ipojo/schemas/1.0.0/core.xsd felix/site/trunk/content/ipojo/schemas/1.0.0/event-admin.xsd felix/site/trunk/content/ipojo/schemas/1.0.0/extender-pattern.xsd felix/site/trunk/content/ipojo/schemas/1.0.0/jmx.xsd felix/site/trunk/content/ipojo/schemas/1.0.0/temporal.xsd felix/site/trunk/content/ipojo/schemas/1.0.0/whiteboard-pattern.xsd felix/site/trunk/content/ipojo/schemas/1.1.0-SNAPSHOT/ felix/site/trunk/content/ipojo/schemas/1.1.0-SNAPSHOT/composite.xsd felix/site/trunk/content/ipojo/schemas/1.1.0-SNAPSHOT/core.xsd felix/site/trunk/content/ipojo/schemas/1.1.0-SNAPSHOT/event-admin.xsd felix/site/trunk/content/ipojo/schemas/1.1.0-SNAPSHOT/extender-pattern.xsd felix/site/trunk/content/ipojo/schemas/1.1.0-SNAPSHOT/jmx.xsd felix/site/trunk/content/ipojo/schemas/1.1.0-SNAPSHOT/temporal.xsd felix/site/trunk/content/ipojo/schemas/1.1.0-SNAPSHOT/whiteboard-pattern.xsd felix/site/trunk/content/ipojo/schemas/1.2.0/ felix/site/trunk/content/ipojo/schemas/1.2.0/composite.xsd felix/site/trunk/content/ipojo/schemas/1.2.0/core.xsd felix/site/trunk/content/ipojo/schemas/1.2.0/event-admin.xsd felix/site/trunk/content/ipojo/schemas/1.2.0/extender-pattern.xsd felix/site/trunk/content/ipojo/schemas/1.2.0/jmx.xsd felix/site/trunk/content/ipojo/schemas/1.2.0/temporal.xsd felix/site/trunk/content/ipojo/schemas/1.2.0/whiteboard-pattern.xsd felix/site/trunk/content/ipojo/schemas/1.3.0-SNAPSHOT/ felix/site/trunk/content/ipojo/schemas/1.4.0/ felix/site/trunk/content/ipojo/schemas/1.4.0/composite.xsd felix/site/trunk/content/ipojo/schemas/1.4.0/core.xsd felix/site/trunk/content/ipojo/schemas/1.4.0/event-admin.xsd felix/site/trunk/content/ipojo/schemas/1.4.0/extender-pattern.xsd felix/site/trunk/content/ipojo/schemas/1.4.0/jmx.xsd felix/site/trunk/content/ipojo/schemas/1.4.0/temporal.xsd felix/site/trunk/content/ipojo/schemas/1.4.0/whiteboard-pattern.xsd felix/site/trunk/content/ipojo/schemas/1.5.0-SNAPSHOT/ felix/site/trunk/content/ipojo/schemas/1.5.0-SNAPSHOT/composite.xsd felix/site/trunk/content/ipojo/schemas/1.5.0-SNAPSHOT/core.xsd felix/site/trunk/content/ipojo/schemas/1.5.0-SNAPSHOT/event-admin.xsd felix/site/trunk/content/ipojo/schemas/1.5.0-SNAPSHOT/extender-pattern.xsd felix/site/trunk/content/ipojo/schemas/1.5.0-SNAPSHOT/jmx.xsd felix/site/trunk/content/ipojo/schemas/1.5.0-SNAPSHOT/temporal.xsd felix/site/trunk/content/ipojo/schemas/1.5.0-SNAPSHOT/whiteboard-pattern.xsd felix/site/trunk/content/ipojo/schemas/1.6.0/ felix/site/trunk/content/ipojo/schemas/1.6.0/composite.xsd felix/site/trunk/content/ipojo/schemas/1.6.0/core.xsd felix/site/trunk/content/ipojo/schemas/1.6.0/event-admin.xsd felix/site/trunk/content/ipojo/schemas/1.6.0/extender-pattern.xsd felix/site/trunk/content/ipojo/schemas/1.6.0/jmx.xsd felix/site/trunk/content/ipojo/schemas/1.6.0/temporal.xsd felix/site/trunk/content/ipojo/schemas/1.6.0/whiteboard-pattern.xsd felix/site/trunk/content/ipojo/schemas/1.6.2/ felix/site/trunk/content/ipojo/schemas/1.6.2/composite.xsd felix/site/trunk/content/ipojo/schemas/1.6.2/core.xsd felix/site/trunk/content/ipojo/schemas/1.6.2/event-admin.xsd felix/site/trunk/content/ipojo/schemas/1.6.2/extender-pattern.xsd felix/site/trunk/content/ipojo/schemas/1.6.2/jmx.xsd felix/site/trunk/content/ipojo/schemas/1.6.2/temporal.xsd felix/site/trunk/content/ipojo/schemas/1.6.2/whiteboard-pattern.xsd felix/site/trunk/content/ipojo/schemas/1.7.0-SNAPSHOT/ felix/site/trunk/content/ipojo/schemas/1.7.0-SNAPSHOT/composite.xsd felix/site/trunk/content/ipojo/schemas/1.7.0-SNAPSHOT/core.xsd felix/site/trunk/content/ipojo/schemas/1.7.0-SNAPSHOT/event-admin.xsd felix/site/trunk/content/ipojo/schemas/1.7.0-SNAPSHOT/extender-pattern.xsd felix/site/trunk/content/ipojo/schemas/1.7.0-SNAPSHOT/jmx.xsd felix/site/trunk/content/ipojo/schemas/1.7.0-SNAPSHOT/temporal.xsd felix/site/trunk/content/ipojo/schemas/1.7.0-SNAPSHOT/whiteboard-pattern.xsd felix/site/trunk/content/ipojo/schemas/1.8.0/ felix/site/trunk/content/ipojo/schemas/1.8.0/composite.xsd felix/site/trunk/content/ipojo/schemas/1.8.0/core.xsd felix/site/trunk/content/ipojo/schemas/1.8.0/event-admin.xsd felix/site/trunk/content/ipojo/schemas/1.8.0/extender-pattern.xsd felix/site/trunk/content/ipojo/schemas/1.8.0/jmx.xsd felix/site/trunk/content/ipojo/schemas/1.8.0/temporal.xsd felix/site/trunk/content/ipojo/schemas/1.8.0/whiteboard-pattern.xsd felix/site/trunk/content/ipojo/schemas/1.9.0-SNAPSHOT/ felix/site/trunk/content/ipojo/schemas/1.9.0-SNAPSHOT/composite.xsd felix/site/trunk/content/ipojo/schemas/1.9.0-SNAPSHOT/core.xsd felix/site/trunk/content/ipojo/schemas/1.9.0-SNAPSHOT/event-admin.xsd felix/site/trunk/content/ipojo/schemas/1.9.0-SNAPSHOT/extender-pattern.xsd felix/site/trunk/content/ipojo/schemas/1.9.0-SNAPSHOT/jmx.xsd felix/site/trunk/content/ipojo/schemas/1.9.0-SNAPSHOT/temporal.xsd felix/site/trunk/content/ipojo/schemas/1.9.0-SNAPSHOT/whiteboard-pattern.xsd Added: felix/site/trunk/content/ipojo/schemas/.htaccess URL: http://svn.apache.org/viewvc/felix/site/trunk/content/ipojo/schemas/.htaccess?rev=1431382&view=auto ============================================================================== --- felix/site/trunk/content/ipojo/schemas/.htaccess (added) +++ felix/site/trunk/content/ipojo/schemas/.htaccess Thu Jan 10 14:23:55 2013 @@ -0,0 +1,6 @@ +Options FollowSymLinks +RewriteEngine On + +# RewriteBase /ipojo/schemas/ +RewriteRule ^CURRENT(.*)$ 1.8.0$1 +RewriteRule ^CURRENT(.*)$ 1.9.0-SNAPSHOT$1 Added: felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/composite.xsd URL: http://svn.apache.org/viewvc/felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/composite.xsd?rev=1431382&view=auto ============================================================================== --- felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/composite.xsd (added) +++ felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/composite.xsd Thu Jan 10 14:23:55 2013 @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/core.xsd URL: http://svn.apache.org/viewvc/felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/core.xsd?rev=1431382&view=auto ============================================================================== --- felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/core.xsd (added) +++ felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/core.xsd Thu Jan 10 14:23:55 2013 @@ -0,0 +1,439 @@ + + + + iPOJO Core XML-Schema. This grammars models iPOJO descriptor using core features. It provides several extensibility mechanism in order to compose this schema with external handlers and other component implementation type such as compositions. + + + + iPOJO top level element. + + + + + The handler declarations. + + + + + The instance declarations. + + + + + The component type declarations. + + + + + + + + + + Description of the handler. + + + + + + + + + + The implementation class of the handler. The specified class must implement (direcly or not) the "org.apache.felix.ipojo.Handler" interface. + + + + + The name of the handler. + + + + + The XML namespace of the handler. + + + + + Enables or disables the architecture exposition. By default, the architecture is not exposed. This allows handler introspection. + + + + + The start level of the handler. + + + + + + + + Describes an instance of a component. + + + + + + + The instance properties. + + + + + The name of the instance component type. + + + + The (unique) name of the instance. + + + + + + + + Defines a property of an instance configuration. + + + + + + + Name of the property. Can be optional if a property is inside a structure. +The 'instance.name' property has a special semantic as it will be used as the instance name. + + + + Value of the property. Can be null for property containing other properties. + + + + Type of the property, used to create the adequate object. Supported values are list, array, dictionary and map. + + + + + + Declares an atomic (i.e. primitive) component type. + + + + + Describes the method(s) to invoke when the component's state changes. + + + + + Indicates the component provided service(s). By default, all implemented interfaces are published. + + + + + Indicates the service requirements of the component. + + + + + Describes the properties of the component. + + + + + Lifecycle controller for this component. + + + + + + + Specifies the name of the component type. This name is used to identify the factory attached to this type. If not specified, the factory name is the implementation class name. + + + + + Determines if the component type is public or private. A public factory (default) can be used from any bundles. + + + + + Specifies the implementation class of the component type. + + + + + Enables or disables the architecture exposition. By default, the architecture is exposed. This allows instance introspection. + + + + + Creates the object of the component implementation type as soon as the component instance becomes valid. The default value is "true" if the component doesn't provide any service, "false" otherwise. + + + + + Factory method called to create POJO objects instead of the constructor. The specified method must be a static method of the implementation class returning an instance of this implementation class. The factory method can receive the bundle context in argument. + + + + + Description of component services requirements. + + + + + + + Service requirement method invocation description. Here can be specified a bind method called when a service appears and an unbind method called when a service disappears. + + + + + + + The interface describing the required service type. This attribute is needed only when using aggregate dependencies with field injection and when the type of this field is a list, vector, collection and set. This attribute is deprecated. + + + + + + The name of the field representing the service dependency in the implementation class. + + + + + + Enable or disable the Nullable pattern on optional service dependencies. By default, Nullable pattern is enabled. If disabled, iPOJO will inject null instead of a Nullable object. + + + + + + Specifies the default implementation class for an optional service dependency. If no providers are found, iPOJO creates an instance of the default-implementation (nullary constructor) and injects it. The given class must implement the required service interface. + + + + + + Specific service provider. The dependency can only be fulfilled by the component with the matching name, or by the service with a matching PID. + + + + + + + + + + + + + + + + + + + Dependency callbacks are used to receive notification when service providers arrive and leave. + + + + Method to call + + + + Type of callback (bind or unbind). Bind means that the method will be called when a provider arrives. Unbind means that the method will be called when a provider leaves. + + + + + + + + + + + + Lifecycle Callback. Allows a POJO to be notified when the instance becomes valid or invalid. + + + + Specifies the method to call on the transition. + + + + Specifies the transition when the callback needs to be invoked. + + + + Lifecycle transition state. "validate" means that the component's instance was invalid and becomes valid, "invalidate" means that the component's intance was valid and becomes invalid. + + + + + + + + + + + + Provided service(s) description. + + + + + List of service specific properties. + + + + + The list of interfaces of the service to expose. By default, all interfaces implemented by the component implementation class are published. + + + + POJO factory policy. By default, the POJO object is created once (singleton). If the factory is set to "SERVICE", the creation policy follows the OSGi service factory policy (one object object per asking bundle). + + + + + Defines a component property. + + + + Field of the property + + + + Setter method of the property. This method is called to inject property value. + + + + Name of the property. + + + + Default value of the property. + + + + Type of the property. + + + + + + + + + + + + + + + + List of component, instance or service properties. This field will receive the property value. + + + + + The list of properties. + + + + + Propagation of the component properties to the provided services. If this parameter is set to "true", each time properties are reconfigured, they are propagated to each service published by the component. + + + + Unique identifier used to reconfigure components properties (via Managed Services) with the Configuration Admin. + + + + + + + The specification describing the required service type. This attribute is needed only when using aggregate dependencies with field injection and when the type of this field is a list, vector, collection and set. + + + + Sets the service dependency optionality + + + + + Sets the service dependency cardinality. + + + + + Sets the binding policy of the dependency. Three policies are supported. The dynamic policy supports service providers dynamism. The static policy freezes the provider set as soon as the dependency is used. The dynamic-priority policy is an extension of the dynamic policy, but providers are ranked. + + + + + + + + + + + + The comparator attribute allows specifying the class used to compare providers. This class must implemented the java.util.Comparator class and must support the comparison of service references. + + + + + LDAP filter used to filter providers + + + + id of the service dependency. The id allows to indentify and to refert to this dependency. + + + + + + Specifies the lifecycle controller of a component, which allows to validate or invalidate component instances. + + + + The name of the component lifecycle controller field. The type of the specified field must be boolean. Setting the value of the specified field to "true" means the validation of the component instance while setting it to "false" means the invalidation of the component instance. + + + + \ No newline at end of file Added: felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/event-admin.xsd URL: http://svn.apache.org/viewvc/felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/event-admin.xsd?rev=1431382&view=auto ============================================================================== --- felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/event-admin.xsd (added) +++ felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/event-admin.xsd Thu Jan 10 14:23:55 2013 @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/extender-pattern.xsd URL: http://svn.apache.org/viewvc/felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/extender-pattern.xsd?rev=1431382&view=auto ============================================================================== --- felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/extender-pattern.xsd (added) +++ felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/extender-pattern.xsd Thu Jan 10 14:23:55 2013 @@ -0,0 +1,29 @@ + + + + + + + + + \ No newline at end of file Added: felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/jmx.xsd URL: http://svn.apache.org/viewvc/felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/jmx.xsd?rev=1431382&view=auto ============================================================================== --- felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/jmx.xsd (added) +++ felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/jmx.xsd Thu Jan 10 14:23:55 2013 @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/temporal.xsd URL: http://svn.apache.org/viewvc/felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/temporal.xsd?rev=1431382&view=auto ============================================================================== --- felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/temporal.xsd (added) +++ felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/temporal.xsd Thu Jan 10 14:23:55 2013 @@ -0,0 +1,39 @@ + + + + + + + + + + + Specifies the timeout after which the onTimeout policy is executed. The value is the time in ms to wait. -1 is used to indicate an infinite wait. + + + + Specifies the onTimeout policy. This determines the object to inject when the service stills unavailable when the timeout expires. Several values are supported: - 'nullable' means that a Nullable object will be injected - 'empty-array' injects an empty array (only for aggregate dependency) - 'null' injects Null - any other value are interpreted as the default implementation class to use. If the onTimetout attribute is not specified, a RuntimeException is thrown when the timeout is reached. + + + + \ No newline at end of file Added: felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/whiteboard-pattern.xsd URL: http://svn.apache.org/viewvc/felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/whiteboard-pattern.xsd?rev=1431382&view=auto ============================================================================== --- felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/whiteboard-pattern.xsd (added) +++ felix/site/trunk/content/ipojo/schemas/0.9.0-SNAPSHOT/whiteboard-pattern.xsd Thu Jan 10 14:23:55 2013 @@ -0,0 +1,30 @@ + + + + + + + + + + \ No newline at end of file Added: felix/site/trunk/content/ipojo/schemas/1.0.0/composite.xsd URL: http://svn.apache.org/viewvc/felix/site/trunk/content/ipojo/schemas/1.0.0/composite.xsd?rev=1431382&view=auto ============================================================================== --- felix/site/trunk/content/ipojo/schemas/1.0.0/composite.xsd (added) +++ felix/site/trunk/content/ipojo/schemas/1.0.0/composite.xsd Thu Jan 10 14:23:55 2013 @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: felix/site/trunk/content/ipojo/schemas/1.0.0/core.xsd URL: http://svn.apache.org/viewvc/felix/site/trunk/content/ipojo/schemas/1.0.0/core.xsd?rev=1431382&view=auto ============================================================================== --- felix/site/trunk/content/ipojo/schemas/1.0.0/core.xsd (added) +++ felix/site/trunk/content/ipojo/schemas/1.0.0/core.xsd Thu Jan 10 14:23:55 2013 @@ -0,0 +1,439 @@ + + + + iPOJO Core XML-Schema. This grammars models iPOJO descriptor using core features. It provides several extensibility mechanism in order to compose this schema with external handlers and other component implementation type such as compositions. + + + + iPOJO top level element. + + + + + The handler declarations. + + + + + The instance declarations. + + + + + The component type declarations. + + + + + + + + + + Description of the handler. + + + + + + + + + + The implementation class of the handler. The specified class must implement (direcly or not) the "org.apache.felix.ipojo.Handler" interface. + + + + + The name of the handler. + + + + + The XML namespace of the handler. + + + + + Enables or disables the architecture exposition. By default, the architecture is not exposed. This allows handler introspection. + + + + + The start level of the handler. + + + + + + + + Describes an instance of a component. + + + + + + + The instance properties. + + + + + The name of the instance component type. + + + + The (unique) name of the instance. + + + + + + + + Defines a property of an instance configuration. + + + + + + + Name of the property. Can be optional if a property is inside a structure. +The 'instance.name' property has a special semantic as it will be used as the instance name. + + + + Value of the property. Can be null for property containing other properties. + + + + Type of the property, used to create the adequate object. Supported values are list, array, dictionary and map. + + + + + + Declares an atomic (i.e. primitive) component type. + + + + + Describes the method(s) to invoke when the component's state changes. + + + + + Indicates the component provided service(s). By default, all implemented interfaces are published. + + + + + Indicates the service requirements of the component. + + + + + Describes the properties of the component. + + + + + Lifecycle controller for this component. + + + + + + + Specifies the name of the component type. This name is used to identify the factory attached to this type. If not specified, the factory name is the implementation class name. + + + + + Determines if the component type is public or private. A public factory (default) can be used from any bundles. + + + + + Specifies the implementation class of the component type. + + + + + Enables or disables the architecture exposition. By default, the architecture is exposed. This allows instance introspection. + + + + + Creates the object of the component implementation type as soon as the component instance becomes valid. The default value is "true" if the component doesn't provide any service, "false" otherwise. + + + + + Factory method called to create POJO objects instead of the constructor. The specified method must be a static method of the implementation class returning an instance of this implementation class. The factory method can receive the bundle context in argument. + + + + + Description of component services requirements. + + + + + + + Service requirement method invocation description. Here can be specified a bind method called when a service appears and an unbind method called when a service disappears. + + + + + + + The interface describing the required service type. This attribute is needed only when using aggregate dependencies with field injection and when the type of this field is a list, vector, collection and set. This attribute is deprecated, use 'specification'. + + + + + + The name of the field representing the service dependency in the implementation class. + + + + + + Enable or disable the Nullable pattern on optional service dependencies. By default, Nullable pattern is enabled. If disabled, iPOJO will inject null instead of a Nullable object. + + + + + + Specifies the default implementation class for an optional service dependency. If no providers are found, iPOJO creates an instance of the default-implementation (nullary constructor) and injects it. The given class must implement the required service interface. + + + + + + Specific service provider. The dependency can only be fulfilled by the component with the matching name, or by the service with a matching PID. + + + + + + + + + + + + + + + + + + + Dependency callbacks are used to receive notification when service providers arrive and leave. + + + + Method to call + + + + Type of callback (bind or unbind). Bind means that the method will be called when a provider arrives. Unbind means that the method will be called when a provider leaves. + + + + + + + + + + + + Lifecycle Callback. Allows a POJO to be notified when the instance becomes valid or invalid. + + + + Specifies the method to call on the transition. + + + + Specifies the transition when the callback needs to be invoked. + + + + Lifecycle transition state. "validate" means that the component's instance was invalid and becomes valid, "invalidate" means that the component's intance was valid and becomes invalid. + + + + + + + + + + + + Provided service(s) description. + + + + + List of service specific properties. + + + + + The list of interfaces of the service to expose. By default, all interfaces implemented by the component implementation class are published. + + + + POJO factory policy. By default, the POJO object is created once (singleton). If the factory is set to "SERVICE", the creation policy follows the OSGi service factory policy (one object object per asking bundle). + + + + + Defines a component property. + + + + Field of the property + + + + Setter method of the property. This method is called to inject property value. + + + + Name of the property. + + + + Default value of the property. + + + + Type of the property. + + + + + + + + + + + + + + + + List of component, instance or service properties. This field will receive the property value. + + + + + The list of properties. + + + + + Propagation of the component properties to the provided services. If this parameter is set to "true", each time properties are reconfigured, they are propagated to each service published by the component. + + + + Unique identifier used to reconfigure components properties (via Managed Services) with the Configuration Admin. + + + + + + + The specification describing the required service type. This attribute is needed only when using aggregate dependencies with field injection and when the type of this field is a list, vector, collection and set. + + + + Sets the service dependency optionality + + + + + Sets the service dependency cardinality. + + + + + Sets the binding policy of the dependency. Three policies are supported. The dynamic policy supports service providers dynamism. The static policy freezes the provider set as soon as the dependency is used. The dynamic-priority policy is an extension of the dynamic policy, but providers are ranked. + + + + + + + + + + + + The comparator attribute allows specifying the class used to compare providers. This class must implemented the java.util.Comparator class and must support the comparison of service references. + + + + + LDAP filter used to filter providers + + + + id of the service dependency. The id allows to indentify and to refert to this dependency. + + + + + + Specifies the lifecycle controller of a component, which allows to validate or invalidate component instances. + + + + The name of the component lifecycle controller field. The type of the specified field must be boolean. Setting the value of the specified field to "true" means the validation of the component instance while setting it to "false" means the invalidation of the component instance. + + + + \ No newline at end of file Added: felix/site/trunk/content/ipojo/schemas/1.0.0/event-admin.xsd URL: http://svn.apache.org/viewvc/felix/site/trunk/content/ipojo/schemas/1.0.0/event-admin.xsd?rev=1431382&view=auto ============================================================================== --- felix/site/trunk/content/ipojo/schemas/1.0.0/event-admin.xsd (added) +++ felix/site/trunk/content/ipojo/schemas/1.0.0/event-admin.xsd Thu Jan 10 14:23:55 2013 @@ -0,0 +1,90 @@ + + + + + + Description of an event publisher. + + + + The name of the event publisher, acting as a unique identifier. +The name of the POJO's field that will be used to send events. The field is initialized at component instantiation time. The type of the field must be "org.apache.felix.ipojo.handlers.event.publisher.Publisher". + + + + The name of the POJO field associated to this event publisher. +Despite it creates a dependency between the component code and the handler, this system allows hiding the whole complexity of event sending. + + + + The comma-separated-list of the topics on which events will be sent. All subscribers that are listening to one of these topics will receive the events. + + + Determines if event sending is synchronous or not. By default, events are sent asynchronously, but you can specify there the desired behaviour of the Publisher. +The default value of this attribute is "false". + + + + The data key is used when you want to send data events. This attribute's value is the key, in the event's dictionary, in which sent data are stored. When you use the sendData method of the Publisher, the given object is placed in the event dictionary, associated with the specified data-key. +The default value of this attribute is user.data. + + + + + Description of an event subscriber. + + + + The name of the event subscriber, acting as a unique identifier. + + + The name of the POJO's method that will be called each time an event is received. +This method takes only one parameter, of typeorg.osgi.service.event.Eventby default, but this type can be overridden by defining the data-key and/or the data-type attributes. + + + + The comma-separated-list of the topics that the handler will listen to. Each event sent on a topic present in this list will be sent to the specified callback method. + + + The event filter is used to filter incoming events before sending them to the callback. +The syntax of this field is described in the OSGi EventAdmin Specification. If you don't specify a filter, all events sent on the listened topics will be considered. + + + + The data key is used when you want to receive data events. This attribute's value is the key corresponding to the received data in the event's dictionary. +If you use this attribute, the parameter passed to the callback method is the the value associated to this key, not the whole event. +This attribute is generally used with the data-typeattribute to specify the received object type. +If an event is received and it does not contain such a key, it is ignored (with a warning message). + + + + This attribute is associated to the data-key attribute. It specifies the type of objects (java.lang.Object by default) that the callback expects. +It is used to determine the unique callback method (in case of multiple methods with the same name) and to check type compliance at event reception. +Data events that are not corresponding to the specified type will be ignored (with a warning message). + + + + + + + \ No newline at end of file Added: felix/site/trunk/content/ipojo/schemas/1.0.0/extender-pattern.xsd URL: http://svn.apache.org/viewvc/felix/site/trunk/content/ipojo/schemas/1.0.0/extender-pattern.xsd?rev=1431382&view=auto ============================================================================== --- felix/site/trunk/content/ipojo/schemas/1.0.0/extender-pattern.xsd (added) +++ felix/site/trunk/content/ipojo/schemas/1.0.0/extender-pattern.xsd Thu Jan 10 14:23:55 2013 @@ -0,0 +1,42 @@ + + + + + + Description of the extender pattern configuration. +The extender tracks extensions. The particularity of this architecture-style is that extensions are packaged in different bundles. An extension is detected by analyzing the bundle. The mark is currently a header in the bundle manifest. At each time a matching bundle appears or disappears, a callback is invoked. + + + + Declaring the method to invoke when a matching bundle arrives + + + + Declaring the method to invoke when a matching bundle leaves + + + + Declaring the looked manifest header. + + + \ No newline at end of file