Package org.apache.sling.replication.packaging.impl.importer

Examples of org.apache.sling.replication.packaging.impl.importer.LocalReplicationPackageImporter


            String name = PropertiesUtil.toString(properties.get(COMPONENT_NAME), null);
            return componentProvider.getComponent(ReplicationPackageImporter.class, name);
        } else if (PACKAGE_IMPORTER_LOCAL.equals(factory)) {
            Map<String, Object> builderProperties = extractMap(COMPONENT_PACKAGE_BUILDER, properties);
            ReplicationPackageBuilder packageBuilder = createBuilder(builderProperties);
            return new LocalReplicationPackageImporter(packageBuilder, replicationEventFactory);
        } else if (PACKAGE_IMPORTER_REMOTE.equals(factory)) {
            Map<String, Object> authenticationProviderProperties = extractMap(COMPONENT_TRANSPORT_AUTHENTICATION_PROVIDER, properties);
            TransportAuthenticationProvider authenticationProvider = createTransportAuthenticationProvider(authenticationProviderProperties, componentProvider);

            String[] endpoints = PropertiesUtil.toStringArray(properties.get(PACKAGE_EXPORTER_REMOTE_PROPERTY_ENDPOINTS), new String[0]);
View Full Code Here

TOP

Related Classes of org.apache.sling.replication.packaging.impl.importer.LocalReplicationPackageImporter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.