aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From z..@apache.org
Subject svn commit: r1075096 [1/13] - in /aries/tags/jmx-0.1-incubating: ./ jmx-api/ jmx-api/src/ jmx-api/src/main/ jmx-api/src/main/appended-resources/ jmx-api/src/main/appended-resources/META-INF/ jmx-api/src/main/java/ jmx-api/src/main/java/org/ jmx-api/src...
Date Sun, 27 Feb 2011 17:58:23 GMT
Author: zoe
Date: Sun Feb 27 17:58:16 2011
New Revision: 1075096

URL: http://svn.apache.org/viewvc?rev=1075096&view=rev
Log:
Restore jmx 0.1

Added:
    aries/tags/jmx-0.1-incubating/
    aries/tags/jmx-0.1-incubating/LICENSE
    aries/tags/jmx-0.1-incubating/NOTICE
    aries/tags/jmx-0.1-incubating/jmx-api/
    aries/tags/jmx-0.1-incubating/jmx-api/pom.xml
    aries/tags/jmx-0.1-incubating/jmx-api/src/
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/appended-resources/
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/appended-resources/META-INF/
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/appended-resources/META-INF/NOTICE.vm
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/Item.java
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/JmxConstants.java
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/framework/
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/framework/BundleStateMBean.java
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/framework/FrameworkMBean.java
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/framework/PackageStateMBean.java
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/framework/ServiceStateMBean.java
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/framework/package.html
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/framework/packageinfo
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/package.html
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/packageinfo
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/service/
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/service/cm/
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/service/cm/ConfigurationAdminMBean.java
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/service/cm/package.html
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/service/cm/packageinfo
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/service/permissionadmin/
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/service/permissionadmin/PermissionAdminMBean.java
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/service/permissionadmin/package.html
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/service/permissionadmin/packageinfo
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/service/provisioning/
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/service/provisioning/ProvisioningServiceMBean.java
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/service/provisioning/package.html
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/service/provisioning/packageinfo
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/service/useradmin/
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/service/useradmin/UserAdminMBean.java
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/service/useradmin/package.html
    aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/service/useradmin/packageinfo
    aries/tags/jmx-0.1-incubating/jmx-blueprint-api/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-api/pom.xml
    aries/tags/jmx-0.1-incubating/jmx-blueprint-api/src/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-api/src/main/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-api/src/main/java/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-api/src/main/java/org/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-api/src/main/java/org/apache/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-api/src/main/java/org/apache/aries/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-api/src/main/java/org/apache/aries/jmx/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-api/src/main/java/org/apache/aries/jmx/blueprint/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-api/src/main/java/org/apache/aries/jmx/blueprint/BlueprintMetadataMBean.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-api/src/main/java/org/apache/aries/jmx/blueprint/BlueprintStateMBean.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-api/src/main/java/org/apache/aries/jmx/blueprint/Item.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-api/src/main/java/org/apache/aries/jmx/blueprint/JmxConstants.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-bundle/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-bundle/pom.xml
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/pom.xml
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/BPBeanArgument.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/BPBeanMetadata.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/BPBeanProperty.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/BPCollectionMetadata.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/BPComponentMetadata.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/BPIdRefMetadata.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/BPMapEntry.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/BPMapMetadata.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/BPMetadata.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/BPNonNullMetadata.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/BPNullMetadata.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/BPPropsMetadata.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/BPRefMetadata.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/BPReferenceListMetadata.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/BPReferenceListener.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/BPReferenceMetadata.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/BPRegistrationListener.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/BPServiceMetadata.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/BPServiceReferenceMetadata.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/BPTarget.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/BPValueMetadata.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/OSGiBlueprintEvent.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/TransferObject.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/codec/Util.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/impl/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/impl/Activator.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/impl/BlueprintMetadata.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/impl/BlueprintState.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/impl/RegistrationStandardMBean.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/impl/codec/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/test/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/test/java/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/test/java/org/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/test/java/org/apache/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/test/java/org/apache/aries/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/test/java/org/apache/aries/jmx/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/test/java/org/apache/aries/jmx/blueprint/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/test/java/org/apache/aries/jmx/blueprint/impl/
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/test/java/org/apache/aries/jmx/blueprint/impl/BlueprintMetadataTest.java
    aries/tags/jmx-0.1-incubating/jmx-blueprint-core/src/test/java/org/apache/aries/jmx/blueprint/impl/BlueprintStateTest.java
    aries/tags/jmx-0.1-incubating/jmx-bundle/
    aries/tags/jmx-0.1-incubating/jmx-bundle/pom.xml
    aries/tags/jmx-0.1-incubating/jmx-bundle/src/
    aries/tags/jmx-0.1-incubating/jmx-bundle/src/main/
    aries/tags/jmx-0.1-incubating/jmx-bundle/src/main/appended-resources/
    aries/tags/jmx-0.1-incubating/jmx-bundle/src/main/appended-resources/META-INF/
    aries/tags/jmx-0.1-incubating/jmx-bundle/src/main/appended-resources/META-INF/NOTICE.vm
    aries/tags/jmx-0.1-incubating/jmx-core/
    aries/tags/jmx-0.1-incubating/jmx-core/pom.xml
    aries/tags/jmx-0.1-incubating/jmx-core/src/
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/appended-resources/
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/appended-resources/META-INF/
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/appended-resources/META-INF/NOTICE.vm
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/AbstractCompendiumHandler.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/Activator.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/JMXThreadFactory.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/Logger.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/MBeanHandler.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/MBeanServiceTracker.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/agent/
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/agent/JMXAgent.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/agent/JMXAgentContext.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/agent/JMXAgentImpl.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/cm/
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/cm/ConfigurationAdmin.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/cm/ConfigurationAdminMBeanHandler.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/codec/
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/codec/AuthorizationData.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/codec/BatchActionResult.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/codec/BatchInstallResult.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/codec/BatchResult.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/codec/BundleData.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/codec/BundleEventData.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/codec/GroupData.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/codec/PackageData.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/codec/PropertyData.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/codec/RoleData.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/codec/ServiceData.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/codec/ServiceEventData.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/codec/UserData.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/framework/
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/framework/BundleState.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/framework/BundleStateMBeanHandler.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/framework/Framework.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/framework/FrameworkMBeanHandler.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/framework/PackageState.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/framework/PackageStateMBeanHandler.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/framework/RegistrableStandardEmitterMBean.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/framework/ServiceState.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/framework/ServiceStateMBeanHandler.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/permissionadmin/
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/permissionadmin/PermissionAdmin.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/permissionadmin/PermissionAdminMBeanHandler.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/provisioning/
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/provisioning/ProvisioningService.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/provisioning/ProvisioningServiceMBeanHandler.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/useradmin/
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/useradmin/UserAdmin.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/useradmin/UserAdminMBeanHandler.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/util/
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/util/FrameworkUtils.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/main/java/org/apache/aries/jmx/util/TypeUtils.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/CompendiumHandlerTest.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/cm/
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/cm/ConfigurationAdminMBeanHandlerTest.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/cm/ConfigurationAdminTest.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/codec/
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/codec/BundleDataTest.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/codec/BundleEventDataTest.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/codec/PropertyDataTest.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/codec/ServiceDataTest.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/codec/ServiceEventDataTest.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/framework/
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/framework/BundleStateMBeanHandlerTest.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/framework/BundleStateTest.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/framework/FrameworkTest.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/framework/PackageStateTest.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/framework/ServiceStateMBeanHandlerTest.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/framework/ServiceStateTest.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/permissionadmin/
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/permissionadmin/PermissionAdminTest.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/provisioning/
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/provisioning/ProvisioningServiceMBeanHandlerTest.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/provisioning/ProvisioningServiceTest.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/useradmin/
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/useradmin/UserAdminTest.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/util/
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/util/FrameworkUtilsTest.java
    aries/tags/jmx-0.1-incubating/jmx-core/src/test/java/org/apache/aries/jmx/util/TypeUtilsTest.java
    aries/tags/jmx-0.1-incubating/jmx-itests/
    aries/tags/jmx-0.1-incubating/jmx-itests/pom.xml
    aries/tags/jmx-0.1-incubating/jmx-itests/src/
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/AbstractIntegrationTest.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/cm/
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/cm/ConfigurationAdminMBeanTest.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/framework/
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/framework/BundleStateMBeanTest.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/framework/FrameworkMBeanTest.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/framework/PackageStateMBeanTest.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/framework/ServiceStateMBeanTest.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/permissionadmin/
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/permissionadmin/PermissionAdminMBeanTest.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/provisioning/
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/provisioning/ProvisioningServiceMBeanTest.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/BlueprintMBeanTest.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/framework/
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/framework/AbstractArgumentPropertyValidator.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/framework/AbstractCompositeDataValidator.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/framework/AbstractListenerComponentValidator.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/framework/AbstractServiceReferenceValidator.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/framework/BeanArgumentValidator.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/framework/BeanPropertyValidator.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/framework/BeanValidator.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/framework/BlueprintEventValidator.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/framework/CollectionValidator.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/framework/MapEntryValidator.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/framework/NonNullObjectValueValidator.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/framework/ObjectValueValidator.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/framework/RefValidator.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/framework/ReferenceListValidator.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/framework/ReferenceListenerValidator.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/framework/ReferenceValidator.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/framework/RegistrationListenerValidator.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/framework/ServiceValidator.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/framework/TargetValidator.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/framework/Util.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/framework/Validator.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/blueprint/framework/ValueValidator.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/bundlea/
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/bundlea/Activator.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/bundlea/api/
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/bundlea/api/InterfaceA.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/bundlea/impl/
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/bundlea/impl/A.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/bundleb/
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/bundleb/Activator.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/bundleb/api/
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/bundleb/api/InterfaceB.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/bundleb/api/MSF.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/bundleb/impl/
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/bundleb/impl/B.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/fragmentc/
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/java/org/apache/aries/jmx/test/fragmentc/C.java
    aries/tags/jmx-0.1-incubating/jmx-itests/src/test/resources/
    aries/tags/jmx-0.1-incubating/pom.xml

Added: aries/tags/jmx-0.1-incubating/LICENSE
URL: http://svn.apache.org/viewvc/aries/tags/jmx-0.1-incubating/LICENSE?rev=1075096&view=auto
==============================================================================
--- aries/tags/jmx-0.1-incubating/LICENSE (added)
+++ aries/tags/jmx-0.1-incubating/LICENSE Sun Feb 27 17:58:16 2011
@@ -0,0 +1,202 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.

Added: aries/tags/jmx-0.1-incubating/NOTICE
URL: http://svn.apache.org/viewvc/aries/tags/jmx-0.1-incubating/NOTICE?rev=1075096&view=auto
==============================================================================
--- aries/tags/jmx-0.1-incubating/NOTICE (added)
+++ aries/tags/jmx-0.1-incubating/NOTICE Sun Feb 27 17:58:16 2011
@@ -0,0 +1,9 @@
+Aries JMX Specification Implementation
+Copyright 2009 The Apache Aries development community
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+This product includes software developed at
+the OSGi Alliance (http://www.osgi.org/).
+

Added: aries/tags/jmx-0.1-incubating/jmx-api/pom.xml
URL: http://svn.apache.org/viewvc/aries/tags/jmx-0.1-incubating/jmx-api/pom.xml?rev=1075096&view=auto
==============================================================================
--- aries/tags/jmx-0.1-incubating/jmx-api/pom.xml (added)
+++ aries/tags/jmx-0.1-incubating/jmx-api/pom.xml Sun Feb 27 17:58:16 2011
@@ -0,0 +1,47 @@
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+    
+       http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.aries.jmx</groupId>
+        <artifactId>jmx</artifactId>
+        <version>0.1-incubating</version>
+    </parent>
+
+    <artifactId>org.apache.aries.jmx.api</artifactId>
+    <packaging>bundle</packaging>
+    <name>Apache Aries JMX API</name>
+    <description>
+        This bundle contains the JMX 1.0.0 API
+    </description>
+
+    <properties>
+        <aries.osgi.export>
+            org.osgi.jmx;version="1.0.0";uses:="javax.management.openmbean",
+            org.osgi.jmx.framework;version="1.5.0";uses:="org.osgi.jmx,javax.management.openmbean",
+            org.osgi.jmx.service.cm;version="1.3.0";uses:="javax.management.openmbean",
+            org.osgi.jmx.service.permissionadmin;version="1.2.0";uses:="org.osgi.jmx",
+            org.osgi.jmx.service.provisioning;version="1.2.0";uses:="javax.management.openmbean",
+            org.osgi.jmx.service.useradmin;version="1.1.0";uses:="org.osgi.jmx,javax.management.openmbean"
+        </aries.osgi.export>
+        <aries.osgi.import>
+            !org.osgi.jmx*,
+            *
+        </aries.osgi.import>
+    </properties>
+
+</project>

Added: aries/tags/jmx-0.1-incubating/jmx-api/src/main/appended-resources/META-INF/NOTICE.vm
URL: http://svn.apache.org/viewvc/aries/tags/jmx-0.1-incubating/jmx-api/src/main/appended-resources/META-INF/NOTICE.vm?rev=1075096&view=auto
==============================================================================
--- aries/tags/jmx-0.1-incubating/jmx-api/src/main/appended-resources/META-INF/NOTICE.vm (added)
+++ aries/tags/jmx-0.1-incubating/jmx-api/src/main/appended-resources/META-INF/NOTICE.vm Sun Feb 27 17:58:16 2011
@@ -0,0 +1,2 @@
+This product includes software developed at
+the OSGi Alliance (http://www.osgi.org/).
\ No newline at end of file

Added: aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/Item.java
URL: http://svn.apache.org/viewvc/aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/Item.java?rev=1075096&view=auto
==============================================================================
--- aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/Item.java (added)
+++ aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/Item.java Sun Feb 27 17:58:16 2011
@@ -0,0 +1,198 @@
+/*
+ * Copyright (c) OSGi Alliance (2009). All Rights Reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.osgi.jmx;
+
+import java.util.Collections;
+import java.util.LinkedHashSet;
+import java.util.Set;
+
+import javax.management.openmbean.ArrayType;
+import javax.management.openmbean.CompositeType;
+import javax.management.openmbean.OpenDataException;
+import javax.management.openmbean.OpenType;
+import javax.management.openmbean.TabularType;
+
+/**
+ * The item class enables the definition of open types in the appropriate
+ * interfaces.
+ * 
+ * This class contains a number of methods that make it possible to create open
+ * types for {@link CompositeType}, {@link TabularType}, and {@link ArrayType}.
+ * The normal creation throws a checked exception, making it impossible to use
+ * them in a static initializer. They constructors are also not very suitable
+ * for static construction.
+ * 
+ * 
+ * An Item instance describes an item in a Composite Type. It groups the triplet
+ * of name, description, and Open Type. These Item instances allows the
+ * definitions of an item to stay together.
+ * 
+ * @version $Rev: 896239 $
+ * @Immutable
+ */
+public class Item {
+
+	/**
+	 * The name of this item.
+	 */
+	private final String name;
+
+	/**
+	 * The description of this item.
+	 */
+	private final String description;
+
+	/**
+	 * The type of this item.
+	 */
+	private final OpenType type;
+
+	/**
+	 * Create a triple of name, description, and type. This triplet is used in
+	 * the creation of a Composite Type.
+	 * 
+	 * @param name
+	 *            The name of the item.
+	 * @param description
+	 *            The description of the item.
+	 * @param type
+	 *            The Open Type of this item.
+	 * @param restrictions
+	 *            Ignored, contains list of restrictions
+	 */
+	public Item(String name, String description, OpenType type,
+			String... restrictions) {
+		this.name = name;
+		this.description = description;
+		this.type = type;
+	}
+
+	/**
+	 * 
+	 */
+
+	/**
+	 * Create a Tabular Type.
+	 * 
+	 * @param name
+	 *            The name of the Tabular Type.
+	 * @param description
+	 *            The description of the Tabular Type.
+	 * @param rowType
+	 *            The Open Type for a row
+	 * @param index
+	 *            The names of the items that form the index .
+	 * @return A new Tabular Type composed from the parameters.
+	 * @throws RuntimeException
+	 *             when the Tabular Type throws an OpenDataException
+	 */
+	static public TabularType tabularType(String name, String description,
+			CompositeType rowType, String... index) {
+		try {
+			return new TabularType(name, description, rowType, index);
+		} catch (OpenDataException e) {
+			throw new RuntimeException(e);
+		}
+	}
+
+	/**
+	 * Create a Composite Type
+	 * 
+	 * @param name
+	 *            The name of the Tabular Type.
+	 * @param description
+	 *            The description of the Tabular Type.
+	 * @param items
+	 *            The items that describe the composite type.
+	 * @return a new Composite Type
+	 * @throws RuntimeException
+	 *             when the Tabular Type throws an OpenDataException
+	 */
+	static public CompositeType compositeType(String name, String description,
+			Item... items) {
+		return extend(null, name, description, items);
+	}
+
+	/**
+	 * Return a new Array Type.
+	 * 
+	 * @param dim
+	 *            The dimension
+	 * @param elementType
+	 *            The element type
+	 * @return A new Array Type
+	 */
+	public static ArrayType arrayType(int dim, OpenType elementType) {
+		try {
+			return new ArrayType(dim, elementType);
+		} catch (OpenDataException e) {
+			throw new RuntimeException(e);
+		}
+	}
+
+	/**
+	 * Extend a Composite Type by adding new items. Items can override items in
+	 * the parent type.
+	 * 
+	 * @param parent
+	 *            The parent type, can be <code>null</code>
+	 * @param name
+	 *            The name of the type
+	 * @param description
+	 *            The description of the type
+	 * @param items
+	 *            The items that should be added/override to the parent type
+	 * @return A new Composite Type that extends the parent type
+	 * @throws RuntimeException
+	 *             when an OpenDataException is thrown
+	 */
+	public static CompositeType extend(CompositeType parent, String name,
+			String description, Item... items) {
+		Set<Item> all = new LinkedHashSet<Item>();
+
+		if (parent != null) {
+			for (Object nm : parent.keySet()) {
+				String key = (String) nm;
+				all.add(new Item(key, parent.getDescription(key),
+						parent.getType(key)));
+			}
+		}
+
+		Collections.addAll(all, items);
+
+		int size = all.size();
+		String names[] = new String[size];
+		String descriptions[] = new String[size];
+		OpenType types[] = new OpenType[size];
+
+		int m = 0;
+		for (Item item : all) {
+			names[m] = item.name;
+			descriptions[m] = item.description;
+			types[m] = item.type;
+			m++;
+		}
+
+		try {
+			return new CompositeType(name, description, names, descriptions,
+					types);
+		} catch (OpenDataException e) {
+			throw new RuntimeException(e);
+		}
+	}
+
+}

Added: aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/JmxConstants.java
URL: http://svn.apache.org/viewvc/aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/JmxConstants.java?rev=1075096&view=auto
==============================================================================
--- aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/JmxConstants.java (added)
+++ aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/JmxConstants.java Sun Feb 27 17:58:16 2011
@@ -0,0 +1,317 @@
+/*
+ * Copyright (c) OSGi Alliance (2009). All Rights Reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.osgi.jmx;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import javax.management.openmbean.ArrayType;
+import javax.management.openmbean.CompositeType;
+import javax.management.openmbean.SimpleType;
+import javax.management.openmbean.TabularType;
+
+/**
+ * Constants for OSGi JMX Specification.
+ * 
+ * Additionally, this class contains a number of utility types that are used in
+ * different places in the specification. These are {@link #LONG_ARRAY_TYPE},
+ * {@link #STRING_ARRAY_TYPE}, and {@link #PROPERTIES_TYPE}.
+ * 
+ * @version $Rev: 896239 $
+ * @Immutable
+ */
+public class JmxConstants {
+
+	/*
+	 * Empty constructor to make sure this is not used as an object.
+	 */
+	private JmxConstants() {
+		// empty
+	}
+
+	/**
+	 * The MBean Open type for an array of strings
+	 */
+	public static final ArrayType		STRING_ARRAY_TYPE	= Item
+																	.arrayType(
+																			1,
+																			SimpleType.STRING);
+	/**
+	 * The MBean Open type for an array of longs
+	 */
+	public static final ArrayType		LONG_ARRAY_TYPE		= Item
+																	.arrayType(
+																			1,
+																			SimpleType.LONG);
+
+	/**
+	 * For an encoded array we need to start with ARRAY_OF. This must be
+	 * followed by one of the names in {@link #SCALAR}.
+	 * 
+	 */
+	public final static String			ARRAY_OF			= "Array of ";
+
+	/**
+	 * For an encoded vector we need to start with ARRAY_OF. This must be
+	 * followed by one of the names in {@link #SCALAR}.
+	 */
+	public final static String			VECTOR_OF			= "Vector of ";
+
+	/**
+	 * Value for {@link #PROPERTY_TYPE} <code>Type</code> value in the case of
+	 * {@link java.lang.String}
+	 */
+	public static final String			STRING				= "String";
+	/**
+	 * Value for {@link #PROPERTY_TYPE} <code>Type</code> value in the case of
+	 * {@link java.lang.Integer}
+	 */
+	public static final String			INTEGER				= "Integer";
+	/**
+	 * Value for {@link #PROPERTY_TYPE} <code>Type</code> value in the case of
+	 * {@link java.lang.Long}
+	 */
+	public static final String			LONG				= "Long";
+	/**
+	 * Value for {@link #PROPERTY_TYPE} <code>Type</code> value in the case of
+	 * {@link java.lang.Float}
+	 */
+	public static final String			FLOAT				= "Float";
+	/**
+	 * Value for {@link #PROPERTY_TYPE} <code>Type</code> value in the case of
+	 * {@link java.lang.Double}
+	 */
+	public static final String			DOUBLE				= "Double";
+	/**
+	 * Value for {@link #PROPERTY_TYPE} <code>Type</code> value in the case of
+	 * {@link java.lang.Byte}
+	 */
+	public static final String			BYTE				= "Byte";
+	/**
+	 * Value for {@link #PROPERTY_TYPE} <code>Type</code> value in the case of
+	 * {@link java.lang.Short}
+	 */
+	public static final String			SHORT				= "Short";
+	/**
+	 * Value for {@link #PROPERTY_TYPE} <code>Type</code> value in the case of
+	 * {@link java.lang.Character}
+	 */
+	public static final String			CHARACTER			= "Character";
+	/**
+	 * Value for {@link #PROPERTY_TYPE} <code>Type</code> value in the case of
+	 * {@link java.lang.Boolean}
+	 */
+	public static final String			BOOLEAN				= "Boolean";
+	/**
+	 * Value for {@link #PROPERTY_TYPE} <code>Type</code> value in the case of
+	 * {@link java.math.BigDecimal}
+	 */
+	public static final String			BIGDECIMAL			= "BigDecimal";
+	/**
+	 * Value for {@link #PROPERTY_TYPE} <code>Type</code> value in the case of
+	 * {@link java.math.BigInteger}
+	 */
+	public static final String			BIGINTEGER			= "BigInteger";
+	/**
+	 * Value for {@link #PROPERTY_TYPE} <code>Type</code> value in the case of
+	 * the <code>double</code> primitive type.
+	 */
+	public static final String			P_DOUBLE			= "double";
+	/**
+	 * Value for {@link #PROPERTY_TYPE} <code>Type</code> value in the case of
+	 * the <code>float</code> primitive type.
+	 */
+	public static final String			P_FLOAT				= "float";
+	/**
+	 * Value for {@link #PROPERTY_TYPE} <code>Type</code> value in the case of
+	 * the <code>long</code> primitive type.
+	 */
+	public static final String			P_LONG				= "long";
+	/**
+	 * Value for {@link #PROPERTY_TYPE} <code>Type</code> value in the case of
+	 * the <code>int</code> primitive type.
+	 */
+	public static final String			P_INT				= "int";
+	/**
+	 * Value for {@link #PROPERTY_TYPE} <code>Type</code> value in the case of
+	 * the <code>short</code> primitive type.
+	 */
+	public static final String			P_SHORT				= "short";
+	/**
+	 * Value for {@link #PROPERTY_TYPE} <code>Type</code> value in the case of
+	 * the <code>byte</code> primitive type.
+	 */
+	public static final String			P_BYTE				= "byte";
+	/**
+	 * Value for {@link #PROPERTY_TYPE} <code>Type</code> value in the case of
+	 * the <code>char</code> primitive type.
+	 */
+	public static final String			P_CHAR				= "char";
+	/**
+	 * Value for {@link #PROPERTY_TYPE} <code>Type</code> value in the case of
+	 * the <code>boolean</code> primitive type.
+	 */
+	public static final String			P_BOOLEAN			= "boolean";
+
+	/**
+	 * A set of all scalars that can be used in the {@link #TYPE} property of a
+	 * {@link #PROPERTIES_TYPE}. This contains the following names:
+	 * <ul>
+	 * <li>{@link #BIGDECIMAL}</li>
+	 * <li>{@link #BIGINTEGER}</li>
+	 * <li>{@link #BOOLEAN}</li>
+	 * <li>{@link #BYTE}</li>
+	 * <li>{@link #CHARACTER}</li>
+	 * <li>{@link #DOUBLE}</li>
+	 * <li>{@link #FLOAT}</li>
+	 * <li>{@link #INTEGER}</li>
+	 * <li>{@link #LONG}</li>
+	 * <li>{@link #SHORT}</li>
+	 * <li>{@link #STRING}</li>
+	 * <li>{@link #P_BYTE}</li>
+	 * <li>{@link #P_CHAR}</li>
+	 * <li>{@link #P_DOUBLE}</li>
+	 * <li>{@link #P_FLOAT}</li>
+	 * <li>{@link #P_INT}</li>
+	 * <li>{@link #P_LONG}</li>
+	 * <li>{@link #P_SHORT}</li>
+	 */
+	public final static List<String>	SCALAR				= Collections
+																	.unmodifiableList(Arrays
+																			.asList(
+																					STRING,
+																					INTEGER,
+																					LONG,
+																					FLOAT,
+																					DOUBLE,
+																					BYTE,
+																					SHORT,
+																					CHARACTER,
+																					BOOLEAN,
+																					BIGDECIMAL,
+																					BIGINTEGER,
+																					P_BYTE,
+																					P_CHAR,
+																					P_SHORT,
+																					P_INT,
+																					P_LONG,
+																					P_DOUBLE,
+																					P_FLOAT));
+	/**
+	 * The key KEY.
+	 */
+	public static final String			KEY					= "Key";
+	/**
+	 * The key of a property. The key is {@link #KEY} and the type is
+	 * {@link SimpleType#STRING}.
+	 */
+	public static final Item			KEY_ITEM			= new Item(
+																	KEY,
+																	"The key of the property",
+																	SimpleType.STRING);
+
+	/**
+	 * The key VALUE.
+	 */
+	public static final String			VALUE				= "Value";
+
+	/**
+	 * The value of a property. The key is {@link #VALUE} and the type is
+	 * {@link SimpleType#STRING}. A value will be encoded by the string given in
+	 * {@link #TYPE}. The syntax for this type is given in {@link #TYPE_ITEM}.
+	 */
+	public static final Item			VALUE_ITEM			= new Item(
+																	VALUE,
+																	"The value of the property",
+																	SimpleType.STRING);
+
+	/**
+	 * The key PROPERTY_TYPE.
+	 * 
+	 * ### can we call this value PropertyType and service type ServiceType?
+	 */
+	public static final String			TYPE				= "Type";
+
+	/**
+	 * The type of the property. The key is {@link #TYPE} and the type is
+	 * {@link SimpleType#STRING}. This string must follow the following syntax:
+	 * 
+	 * TYPE ::= ( 'Array of ' | 'Vector of ' )? {@link #SCALAR}
+	 * 
+	 * ### why can't we just use the class name?
+	 * 
+	 * ### why do we have to distinguish between primitives and wrappers?
+	 */
+	public static final Item			TYPE_ITEM			= new Item(
+																	TYPE,
+																	"The type of the property",
+																	SimpleType.STRING,
+																	STRING,
+																	INTEGER,
+																	LONG,
+																	FLOAT,
+																	DOUBLE,
+																	BYTE,
+																	SHORT,
+																	CHARACTER,
+																	BOOLEAN,
+																	BIGDECIMAL,
+																	BIGINTEGER,
+																	P_DOUBLE,
+																	P_FLOAT,
+																	P_LONG,
+																	P_INT,
+																	P_SHORT,
+																	P_CHAR,
+																	P_BYTE,
+																	P_BOOLEAN);
+
+	/**
+	 * A Composite Type describing a a single property. A property consists of
+	 * the following items {@link #KEY_ITEM}, {@link #VALUE_ITEM}, and
+	 * {@link #TYPE_ITEM}.
+	 */
+	public static final CompositeType	PROPERTY_TYPE		= Item
+																	.compositeType(
+																			"PROPERTY",
+																			"This type encapsulates a key/value pair",
+																			KEY_ITEM,
+																			VALUE_ITEM,
+																			TYPE_ITEM);
+
+	/**
+	 * Describes a map with properties. The row type is {@link #PROPERTY_TYPE}.
+	 * The index is defined to the {@link #KEY} of the property.
+	 */
+	public static final TabularType		PROPERTIES_TYPE		= Item
+																	.tabularType(
+																			"PROPERTIES",
+																			"A table of PROPERTY",
+																			PROPERTY_TYPE,
+																			KEY);
+
+	/**
+	 * The domain name of the core OSGi MBeans
+	 */
+	public static final String			OSGI_CORE			= "osgi.core";
+
+	/**
+	 * The domain name of the selected OSGi compendium MBeans
+	 */
+	public static final String			OSGI_COMPENDIUM		= "osgi.compendium";
+}

Added: aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/framework/BundleStateMBean.java
URL: http://svn.apache.org/viewvc/aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/framework/BundleStateMBean.java?rev=1075096&view=auto
==============================================================================
--- aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/framework/BundleStateMBean.java (added)
+++ aries/tags/jmx-0.1-incubating/jmx-api/src/main/java/org/osgi/jmx/framework/BundleStateMBean.java Sun Feb 27 17:58:16 2011
@@ -0,0 +1,692 @@
+/*
+ * Copyright (c) OSGi Alliance (2009, 2010). All Rights Reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.osgi.jmx.framework;
+
+import java.io.IOException;
+
+import javax.management.openmbean.CompositeType;
+import javax.management.openmbean.SimpleType;
+import javax.management.openmbean.TabularData;
+import javax.management.openmbean.TabularType;
+
+import org.osgi.jmx.Item;
+import org.osgi.jmx.JmxConstants;
+
+/**
+ * This MBean represents the Bundle state of the framework. This MBean also
+ * emits events that clients can use to get notified of the changes in the
+ * bundle state of the framework.
+ * 
+ * @version $Revision: 922888 $
+ * @ThreadSafe
+ */
+public interface BundleStateMBean {
+	/**
+	 * The Object Name for a Bundle State MBean.
+	 */
+	String OBJECTNAME = JmxConstants.OSGI_CORE
+			+ ":type=bundleState,version=1.5";
+
+	/**
+	 * The key KEY, used in {@link #KEY_ITEM}.
+	 */
+	String KEY = "Key";
+
+	/**
+	 * The item describing the key of a bundle header entry. The key is
+	 * {@link #KEY} and the type is {@link SimpleType#STRING}.
+	 */
+	Item KEY_ITEM = new Item(KEY, "The bundle header key", SimpleType.STRING);
+	/**
+	 * The key VALUE, used in {@link #VALUE_ITEM}.
+	 */
+	String VALUE = "Value";
+	/**
+	 * The item describing the value of a bundle header entry. The key is
+	 * {@link #VALUE} and the type is {@link SimpleType#STRING}.
+	 */
+	Item VALUE_ITEM = new Item(VALUE, "The bundle header value",
+			SimpleType.STRING);
+
+	/**
+	 * The Composite Type describing an entry in bundle headers. It consists of
+	 * {@link #KEY_ITEM} and {@link #VALUE_ITEM}.
+	 */
+	CompositeType HEADER_TYPE = Item.compositeType("HEADER",
+			"This type encapsulates OSGi bundle header key/value pairs",
+			KEY_ITEM, VALUE_ITEM);
+
+	/**
+	 * The Tabular Type describing the type of the Tabular Data value that is
+	 * returned from {@link #getHeaders(long)} method. The primary item is
+	 * {@link #KEY_ITEM}.
+	 */
+	TabularType HEADERS_TYPE = Item.tabularType("HEADERS",
+																"The table of bundle headers",
+																HEADER_TYPE,
+																KEY);
+
+	/**
+	 * The key LOCATION, used in {@link #LOCATION_ITEM}.
+	 */
+	String LOCATION = "Location";
+	/**
+	 * The item containing the bundle location in {@link #BUNDLE_TYPE}. The key
+	 * is {@link #LOCATION} and the the type is {@link SimpleType#STRING}.
+	 */
+	Item LOCATION_ITEM = new Item(LOCATION, "The location of the bundle",
+			SimpleType.STRING);
+
+	/**
+	 * The key IDENTIFIER, used in {@link #IDENTIFIER_ITEM}.
+	 */
+	String IDENTIFIER = "Identifier";
+
+	/**
+	 * The item containing the bundle identifier in {@link #BUNDLE_TYPE}. The
+	 * key is {@link #IDENTIFIER} and the the type is {@link SimpleType#LONG}.
+	 */
+	Item IDENTIFIER_ITEM = new Item(IDENTIFIER, "The id of the bundle",
+			SimpleType.LONG);
+	/**
+	 * The key SYMBOLIC_NAME, used in {@link #SYMBOLIC_NAME_ITEM}.
+	 */
+	String SYMBOLIC_NAME = "SymbolicName";
+
+	/**
+	 * The item containing the symbolic name in {@link #BUNDLE_TYPE}. The key is
+	 * {@link #SYMBOLIC_NAME} and the the type is {@link SimpleType#STRING}.
+	 */
+	Item SYMBOLIC_NAME_ITEM = new Item(SYMBOLIC_NAME,
+			"The symbolic name of the bundle", SimpleType.STRING);
+	/**
+	 * The key VERSION, used in {@link #VERSION_ITEM}.
+	 */
+	String VERSION = "Version";
+
+	/**
+	 * The item containing the symbolic name in {@link #BUNDLE_TYPE}. The key is
+	 * {@link #SYMBOLIC_NAME} and the the type is {@link SimpleType#STRING}.
+	 */
+	Item VERSION_ITEM = new Item(VERSION, "The version of the bundle",
+			SimpleType.STRING);
+	/**
+	 * The key START_LEVEL, used in {@link #START_LEVEL_ITEM}.
+	 */
+	String START_LEVEL = "StartLevel";
+
+	/**
+	 * The item containing the start level in {@link #BUNDLE_TYPE}. The key is
+	 * {@link #START_LEVEL} and the the type is {@link SimpleType#INTEGER}.
+	 */
+	Item START_LEVEL_ITEM = new Item(START_LEVEL,
+			"The start level of the bundle", SimpleType.INTEGER);
+	/**
+	 * The key STATE, used in {@link #STATE_ITEM}.
+	 */
+	String STATE = "State";
+
+	/**
+	 * Constant INSTALLED for the {@link #STATE}
+	 */
+	String INSTALLED = "INSTALLED";
+	/**
+	 * Constant RESOLVED for the {@link #STATE}
+	 */
+	String RESOLVED = "RESOLVED";
+	/**
+	 * Constant STARTING for the {@link #STATE}
+	 */
+	String STARTING = "STARTING";
+	/**
+	 * Constant ACTIVE for the {@link #STATE}
+	 */
+	String ACTIVE = "ACTIVE";
+	/**
+	 * Constant STOPPING for the {@link #STATE}
+	 */
+	String STOPPING = "STOPPING";
+	/**
+	 * Constant UNINSTALLED for the {@link #STATE}
+	 */
+	String UNINSTALLED = "UNINSTALLED";
+	/**
+	 * Constant UNKNOWN for the {@link #STATE}
+	 */
+	String UNKNOWN = "UNKNOWN";
+	/**
+	 * The item containing the bundle state in {@link #BUNDLE_TYPE}. The key is
+	 * {@link #STATE} and the the type is {@link SimpleType#STRING}. The
+	 * returned values must be one of the following strings:
+	 * <ul>
+	 * <li>{@link #INSTALLED}</li>
+	 * <li>{@link #RESOLVED}</li>
+	 * <li>{@link #STARTING}</li>
+	 * <li>{@link #ACTIVE}</li>
+	 * <li>{@link #STOPPING}</li>
+	 * <li>{@link #UNINSTALLED}</li>
+	 * <li>{@link #UNKNOWN}</li>
+	 * </ul>
+	 */
+	Item STATE_ITEM = new Item(STATE, "The state of the bundle",
+			SimpleType.STRING, INSTALLED, RESOLVED, STARTING, ACTIVE, STOPPING,
+			UNINSTALLED, UNKNOWN);
+	/**
+	 * The key LAST_MODIFIED, used in {@link #LAST_MODIFIED_ITEM}.
+	 */
+	String LAST_MODIFIED = "LastModified";
+
+	/**
+	 * The item containing the last modified time in the {@link #BUNDLE_TYPE}.
+	 * The key is {@link #LAST_MODIFIED} and the the type is
+	 * {@link SimpleType#LONG}.
+	 */
+	Item LAST_MODIFIED_ITEM = new Item(LAST_MODIFIED,
+			"The last modification time of the bundle", SimpleType.LONG);
+	/**
+	 * The key PERSISTENTLY_STARTED, used in {@link #PERSISTENTLY_STARTED_ITEM}.
+	 */
+	String			PERSISTENTLY_STARTED		= "PersistentlyStarted";
+
+	/**
+	 * The item containing the indication of persistently started in
+	 * {@link #BUNDLE_TYPE}. The key is {@link #PERSISTENTLY_STARTED} and the
+	 * the type is {@link SimpleType#BOOLEAN}.
+	 */
+	Item PERSISTENTLY_STARTED_ITEM = new Item(PERSISTENTLY_STARTED,
+			"Whether the bundle is persistently started", SimpleType.BOOLEAN);
+	/**
+	 * The key REMOVAL_PENDING, used in {@link #REMOVAL_PENDING_ITEM}.
+	 */
+	String REMOVAL_PENDING = "RemovalPending";
+
+	/**
+	 * The item containing the indication of removal pending in
+	 * {@link #BUNDLE_TYPE}. The key is {@link #REMOVAL_PENDING} and the type is
+	 * {@link SimpleType#BOOLEAN}.
+	 */
+	Item REMOVAL_PENDING_ITEM = new Item(REMOVAL_PENDING,
+			"Whether the bundle is pending removal", SimpleType.BOOLEAN);
+	/**
+	 * The key REQUIRED, used in {@link #REQUIRED_ITEM}.
+	 */
+	String REQUIRED = "Required";
+
+	/**
+	 * The item containing the required status in {@link #BUNDLE_TYPE}. The key
+	 * is {@link #REQUIRED} and the the type is {@link SimpleType#BOOLEAN}.
+	 */
+	Item REQUIRED_ITEM = new Item(REQUIRED, "Whether the bundle is required",
+			SimpleType.BOOLEAN);
+	/**
+	 * The key FRAGMENT, used in {@link #FRAGMENT_ITEM}.
+	 */
+	String FRAGMENT = "Fragment";
+
+	/**
+	 * The item containing the fragment status in {@link #BUNDLE_TYPE}. The key
+	 * is {@link #FRAGMENT} and the the type is {@link SimpleType#BOOLEAN}.
+	 */
+	Item FRAGMENT_ITEM = new Item(FRAGMENT, "Whether the bundle is a fragment",
+			SimpleType.BOOLEAN);
+	/**
+	 * The key REGISTERED_SERVICES, used in {@link #REGISTERED_SERVICES_ITEM}.
+	 */
+	String REGISTERED_SERVICES = "RegisteredServices";
+
+	/**
+	 * The item containing the registered services of the bundle in
+	 * {@link #BUNDLE_TYPE}. The key is {@link #REGISTERED_SERVICES} and the the
+	 * type is {@link JmxConstants#LONG_ARRAY_TYPE}.
+	 */
+	Item REGISTERED_SERVICES_ITEM = new Item(REGISTERED_SERVICES,
+			"The registered services of the bundle",
+			JmxConstants.LONG_ARRAY_TYPE);
+	/**
+	 * The key SERVICES_IN_USE, used in {@link #SERVICES_IN_USE_ITEM}.
+	 */
+	String SERVICES_IN_USE = "ServicesInUse";
+
+	/**
+	 * The item containing the services in use by this bundle in
+	 * {@link #BUNDLE_TYPE}. The key is {@link #SERVICES_IN_USE} and the the
+	 * type is {@link JmxConstants#LONG_ARRAY_TYPE}.
+	 */
+	Item SERVICES_IN_USE_ITEM = new Item(SERVICES_IN_USE,
+			"The services in use by the bundle", JmxConstants.LONG_ARRAY_TYPE);
+	/**
+	 * The key HEADERS, used in {@link #HEADERS_ITEM}.
+	 */
+	String HEADERS = "Headers";
+
+	/**
+	 * The item containing the bundle headers in {@link #BUNDLE_TYPE}. The key
+	 * is {@link #HEADERS} and the the type is {@link #HEADERS_TYPE}.
+	 */
+	Item HEADERS_ITEM = new Item(HEADERS, "The headers of the bundle",
+			HEADERS_TYPE);
+
+	/**
+	 * The key EXPORTED_PACKAGES, used in {@link #EXPORTED_PACKAGES_ITEM}.
+	 */
+	String EXPORTED_PACKAGES = "ExportedPackages";
+
+	/**
+	 * The item containing the exported package names in {@link #BUNDLE_TYPE}
+	 * .The key is {@link #EXPORTED_PACKAGES} and the the type is
+	 * {@link JmxConstants#STRING_ARRAY_TYPE}.
+	 */
+	Item EXPORTED_PACKAGES_ITEM = new Item(EXPORTED_PACKAGES,
+			"The exported packages of the bundle",
+			JmxConstants.STRING_ARRAY_TYPE);
+	/**
+	 * The key IMPORTED_PACKAGES, used in {@link #EXPORTED_PACKAGES_ITEM}.
+	 */
+	String IMPORTED_PACKAGES = "ImportedPackages";
+
+	/**
+	 * The item containing the imported package names in {@link #BUNDLE_TYPE}
+	 * .The key is {@link #IMPORTED_PACKAGES} and the the type is
+	 * {@link JmxConstants#STRING_ARRAY_TYPE}.
+	 */
+	Item IMPORTED_PACKAGES_ITEM = new Item(IMPORTED_PACKAGES,
+			"The imported packages of the bundle",
+			JmxConstants.STRING_ARRAY_TYPE);
+	/**
+	 * The key FRAGMENTS, used in {@link #FRAGMENTS_ITEM}.
+	 */
+	String FRAGMENTS = "Fragments";
+
+	/**
+	 * The item containing the list of fragments the bundle is host to in
+	 * {@link #BUNDLE_TYPE}. The key is {@link #FRAGMENTS} and the type is
+	 * {@link JmxConstants#LONG_ARRAY_TYPE}.
+	 */
+	Item FRAGMENTS_ITEM = new Item(FRAGMENTS,
+			"The fragments of which the bundle is host",
+			JmxConstants.LONG_ARRAY_TYPE);
+	/**
+	 * The key HOSTS, used in {@link #HOSTS_ITEM}.
+	 */
+	String HOSTS = "Hosts";
+
+	/**
+	 * The item containing the bundle identifiers representing the hosts in
+	 * {@link #BUNDLE_TYPE}. The key is {@link #HOSTS} and the type is
+	 * {@link JmxConstants#LONG_ARRAY_TYPE}
+	 */
+	Item HOSTS_ITEM = new Item(HOSTS,
+			"The fragments of which the bundle is host",
+			JmxConstants.LONG_ARRAY_TYPE);
+	/**
+	 * The key REQUIRED_BUNDLES, used in {@link #REQUIRED_BUNDLES_ITEM}.
+	 */
+	String REQUIRED_BUNDLES = "RequiredBundles";
+
+	/**
+	 * The item containing the required bundles in {@link #BUNDLE_TYPE}. The key
+	 * is {@link #REQUIRED_BUNDLES} and the type is
+	 * {@link JmxConstants#LONG_ARRAY_TYPE}
+	 */
+	Item REQUIRED_BUNDLES_ITEM = new Item(REQUIRED_BUNDLES,
+			"The required bundles the bundle", JmxConstants.LONG_ARRAY_TYPE);
+	/**
+	 * The key REQUIRING_BUNDLES, used in {@link #REQUIRING_BUNDLES_ITEM}.
+	 */
+	String REQUIRING_BUNDLES = "RequiringBundles";
+
+	/**
+	 * The item containing the bundles requiring this bundle in
+	 * {@link #BUNDLE_TYPE}. The key is {@link #REQUIRING_BUNDLES} and the type
+	 * is {@link JmxConstants#LONG_ARRAY_TYPE}
+	 */
+	Item REQUIRING_BUNDLES_ITEM = new Item(REQUIRING_BUNDLES,
+			"The bundles requiring the bundle", JmxConstants.LONG_ARRAY_TYPE);
+
+	/**
+	 * The key EVENT, used in {@link #EVENT_ITEM}.
+	 */
+	String EVENT = "BundleEvent";
+
+	/**
+	 * The item containing the event type.  The key is {@link #EVENT} and the type is {@link SimpleType#INTEGER}
+	 */
+	Item EVENT_ITEM = new Item(
+			EVENT,
+			"The type of the event: {INSTALLED=1, STARTED=2, STOPPED=4, UPDATED=8, UNINSTALLED=16}",
+			SimpleType.INTEGER);
+	
+	/**
+	 * The Composite Type that represents a bundle event.  This composite consists of:
+	 * <ul>
+	 * <li>{@link #IDENTIFIER}</li>
+	 * <li>{@link #LOCATION}</li>
+	 * <li>{@link #SYMBOLIC_NAME}</li>
+	 * <li>{@link #EVENT}</li>
+	 * </ul>
+	 */
+	CompositeType BUNDLE_EVENT_TYPE = Item.compositeType("BUNDLE_EVENT",
+			"This type encapsulates OSGi bundle events", IDENTIFIER_ITEM,
+			LOCATION_ITEM, SYMBOLIC_NAME_ITEM, EVENT_ITEM);
+
+	/**
+	 * The Composite Type that represents a bundle. This composite consist of:
+	 * <ul>
+	 * <li>{@link #EXPORTED_PACKAGES}</li>
+	 * <li>{@link #FRAGMENT}</li>
+	 * <li>{@link #FRAGMENTS}</li>
+	 * <li>{@link #HEADERS}</li>
+	 * <li>{@link #HOSTS}</li>
+	 * <li>{@link #IDENTIFIER}</li>
+	 * <li>{@link #IMPORTED_PACKAGES}</li>
+	 * <li>{@link #LAST_MODIFIED}</li>
+	 * <li>{@link #LOCATION}</li>
+	 * <li>{@link #PERSISTENTLY_STARTED}</li>
+	 * <li>{@link #REGISTERED_SERVICES}</li>
+	 * <li>{@link #REMOVAL_PENDING}</li>
+	 * <li>{@link #REQUIRED}</li>
+	 * <li>{@link #REQUIRED_BUNDLES}</li>
+	 * <li>{@link #REQUIRING_BUNDLES}</li>
+	 * <li>{@link #START_LEVEL}</li>
+	 * <li>{@link #STATE}</li>
+	 * <li>{@link #SERVICES_IN_USE}</li>
+	 * <li>{@link #SYMBOLIC_NAME}</li>
+	 * <li>{@link #VERSION}</li>
+	 * </ul>
+	 * It is used by {@link #BUNDLES_TYPE}.
+	 */
+	CompositeType BUNDLE_TYPE = Item.compositeType("BUNDLE",
+			"This type encapsulates OSGi bundles", EXPORTED_PACKAGES_ITEM,
+			FRAGMENT_ITEM, FRAGMENTS_ITEM, HEADERS_ITEM, HOSTS_ITEM,
+			IDENTIFIER_ITEM, IMPORTED_PACKAGES_ITEM, LAST_MODIFIED_ITEM,
+			LOCATION_ITEM, PERSISTENTLY_STARTED_ITEM, REGISTERED_SERVICES_ITEM,
+			REMOVAL_PENDING_ITEM, REQUIRED_ITEM, REQUIRED_BUNDLES_ITEM,
+			REQUIRING_BUNDLES_ITEM, START_LEVEL_ITEM, STATE_ITEM,
+			SERVICES_IN_USE_ITEM, SYMBOLIC_NAME_ITEM, VERSION_ITEM);
+
+	/**
+	 * The Tabular Type for a list of bundles. The row type is
+	 * {@link #BUNDLE_TYPE} and the index is {@link #IDENTIFIER}.
+	 */
+	TabularType BUNDLES_TYPE = Item.tabularType("BUNDLES", "A list of bundles",
+																BUNDLE_TYPE,
+																IDENTIFIER);
+
+	/**
+	 * Answer the list of identifiers of the bundles this bundle depends upon
+	 * 
+	 * @param bundleIdentifier
+	 *            the bundle identifier
+	 * @return the list of bundle identifiers
+	 * @throws IOException
+	 *             if the operation fails
+	 * @throws IllegalArgumentException
+	 *             if the bundle indicated does not exist
+	 */
+	long[] getRequiredBundles(long bundleIdentifier) throws IOException;
+
+	/**
+	 * Answer the bundle state of the system in tabular form.
+	 * 
+	 * Each row of the returned table represents a single bundle. The Tabular
+	 * Data consists of Composite Data that is type by {@link #BUNDLES_TYPE}.
+	 * 
+	 * @return the tabular representation of the bundle state
+	 * @throws IOException
+	 */
+	TabularData listBundles() throws IOException;
+
+	/**
+	 * Answer the list of exported packages for this bundle.
+	 * 
+	 * @param bundleId
+	 * @return the array of package names, combined with their version in the
+	 *         format &lt;packageName;version&gt;
+	 * @throws IOException
+	 *             if the operation fails
+	 * @throws IllegalArgumentException
+	 *             if the bundle indicated does not exist
+	 */
+	String[] getExportedPackages(long bundleId) throws IOException;
+
+	/**
+	 * Answer the list of the bundle ids of the fragments associated with this
+	 * bundle
+	 * 
+	 * @param bundleId
+	 * @return the array of bundle identifiers
+	 * @throws IOException
+	 *             if the operation fails
+	 * @throws IllegalArgumentException
+	 *             if the bundle indicated does not exist
+	 */
+	long[] getFragments(long bundleId) throws IOException;
+
+	/**
+	 * Answer the headers for the bundle uniquely identified by the bundle id.
+	 * The Tabular Data is typed by the {@link #HEADERS_TYPE}.
+	 * 
+	 * @param bundleId
+	 *            the unique identifier of the bundle
+	 * @return the table of associated header key and values
+	 * @throws IOException
+	 *             if the operation fails
+	 * @throws IllegalArgumentException
+	 *             if the bundle indicated does not exist
+	 */
+	TabularData getHeaders(long bundleId) throws IOException;
+
+	/**
+	 * Answer the list of bundle ids of the bundles which host a fragment
+	 * 
+	 * @param fragment
+	 *            the bundle id of the fragment
+	 * @return the array of bundle identifiers
+	 * @throws IOException
+	 *             if the operation fails
+	 * @throws IllegalArgumentException
+	 *             if the bundle indicated does not exist
+	 */
+	long[] getHosts(long fragment) throws IOException;
+
+	/**
+	 * Answer the array of the packages imported by this bundle
+	 * 
+	 * @param bundleId
+	 *            the bundle identifier
+	 * @return the array of package names, combined with their version in the
+	 *         format &lt;packageName;version&gt;
+	 * @throws IOException
+	 *             if the operation fails
+	 * @throws IllegalArgumentException
+	 *             if the bundle indicated does not exist
+	 */
+	String[] getImportedPackages(long bundleId) throws IOException;
+
+	/**
+	 * Answer the last modified time of a bundle
+	 * 
+	 * @param bundleId
+	 *            the unique identifier of a bundle
+	 * @return the last modified time
+	 * @throws IOException
+	 *             if the operation fails
+	 * @throws IllegalArgumentException
+	 *             if the bundle indicated does not exist
+	 */
+	long getLastModified(long bundleId) throws IOException;
+
+	/**
+	 * Answer the list of service identifiers representing the services this
+	 * bundle exports
+	 * 
+	 * @param bundleId
+	 *            the bundle identifier
+	 * @return the list of service identifiers
+	 * @throws IOException
+	 *             if the operation fails
+	 * @throws IllegalArgumentException
+	 *             if the bundle indicated does not exist
+	 */
+	long[] getRegisteredServices(long bundleId) throws IOException;
+
+	/**
+	 * Answer the list of identifiers of the bundles which require this bundle
+	 * 
+	 * @param bundleIdentifier
+	 *            the bundle identifier
+	 * @return the list of bundle identifiers
+	 * @throws IOException
+	 *             if the operation fails
+	 * @throws IllegalArgumentException
+	 *             if the bundle indicated does not exist
+	 */
+	long[] getRequiringBundles(long bundleIdentifier) throws IOException;
+
+	/**
+	 * Answer the list of service identifiers which refer to the the services
+	 * this bundle is using
+	 * 
+	 * @param bundleIdentifier
+	 *            the bundle identifier
+	 * @return the list of service identifiers
+	 * @throws IOException
+	 *             if the operation fails
+	 * @throws IllegalArgumentException
+	 *             if the bundle indicated does not exist
+	 */
+	long[] getServicesInUse(long bundleIdentifier) throws IOException;
+
+	/**
+	 * Answer the start level of the bundle
+	 * 
+	 * @param bundleId
+	 *            the identifier of the bundle
+	 * @return the start level
+	 * @throws IOException
+	 *             if the operation fails
+	 * @throws IllegalArgumentException
+	 *             if the bundle indicated does not exist
+	 */
+	int getStartLevel(long bundleId) throws IOException;
+
+	/**
+	 * Answer the symbolic name of the state of the bundle
+	 * 
+	 * @param bundleId
+	 *            the identifier of the bundle
+	 * @return the string name of the bundle state
+	 * @throws IOException
+	 *             if the operation fails
+	 * @throws IllegalArgumentException
+	 *             if the bundle indicated does not exist
+	 */
+	String getState(long bundleId) throws IOException;
+
+	/**
+	 * Answer the symbolic name of the bundle
+	 * 
+	 * @param bundleId
+	 *            the identifier of the bundle
+	 * @return the symbolic name
+	 * @throws IOException
+	 *             if the operation fails
+	 * @throws IllegalArgumentException
+	 *             if the bundle indicated does not exist
+	 */
+	String getSymbolicName(long bundleId) throws IOException;
+
+	/**
+	 * Answer if the bundle is persistently started when its start level is
+	 * reached
+	 * 
+	 * @param bundleId
+	 *            the identifier of the bundle
+	 * @return true if the bundle is persistently started
+	 * @throws IOException
+	 *             if the operation fails
+	 * @throws IllegalArgumentException
+	 *             if the bundle indicated does not exist
+	 */
+	boolean isPersistentlyStarted(long bundleId) throws IOException;
+
+	/**
+	 * Answer whether the bundle is a fragment or not
+	 * 
+	 * @param bundleId
+	 *            the identifier of the bundle
+	 * @return true if the bundle is a fragment
+	 * @throws IOException
+	 *             if the operation fails
+	 * @throws IllegalArgumentException
+	 *             if the bundle indicated does not exist
+	 */
+	boolean isFragment(long bundleId) throws IOException;
+
+	/**
+	 * Answer true if the bundle is pending removal
+	 * 
+	 * @param bundleId
+	 *            the identifier of the bundle
+	 * @return true if the bundle is pending removal
+	 * @throws IOException
+	 *             if the operation fails
+	 * @throws IllegalArgumentException
+	 *             if the bundle indicated does not exist
+	 */
+	boolean isRemovalPending(long bundleId) throws IOException;
+
+	/**
+	 * Answer true if the bundle is required by another bundle
+	 * 
+	 * @param bundleId
+	 *            the identifier of the bundle
+	 * @return true if the bundle is required by another bundle
+	 * @throws IOException
+	 *             if the operation fails
+	 * @throws IllegalArgumentException
+	 *             if the bundle indicated does not exist
+	 */
+	boolean isRequired(long bundleId) throws IOException;
+
+	/**
+	 * Answer the location of the bundle.
+	 * 
+	 * @param bundleId
+	 *            the identifier of the bundle
+	 * @return The location string of this bundle
+	 * @throws IOException
+	 *             if the operation fails
+	 * @throws IllegalArgumentException
+	 *             if the bundle indicated does not exist
+	 */
+	String getLocation(long bundleId) throws IOException;
+
+	/**
+	 * Answer the location of the bundle.
+	 * 
+	 * @param bundleId
+	 *            the identifier of the bundle
+	 * @return The location string of this bundle
+	 * @throws IOException
+	 *             if the operation fails
+	 * @throws IllegalArgumentException
+	 *             if the bundle indicated does not exist
+	 */
+	String getVersion(long bundleId) throws IOException;
+
+}



Mime
View raw message