Package org.apache.sling.replication.agent

Examples of org.apache.sling.replication.agent.ReplicationAgentException


            replicationRequestAuthorizationStrategy.checkPermission(resourceResolver, replicationRequest);

            return scheduleImport(exportPackages(agentResourceResolver, replicationRequest));
        } catch (Exception e) {
            log.error("Error executing replication request {}", replicationRequest, e);
            throw new ReplicationAgentException(e);
        } finally {
            ungetAgentResourceResolver(agentResourceResolver);

        }
View Full Code Here


                queue = queueProvider.getQueue(this.name, queueName);
            } else {
                queue = queueProvider.getDefaultQueue(this.name);
            }
        } catch (ReplicationQueueException e) {
            throw new ReplicationAgentException(e);
        }
        return queue;
    }
View Full Code Here

TOP

Related Classes of org.apache.sling.replication.agent.ReplicationAgentException

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.