1 /*
2 * $Id: TestRetryNotifier.java 22161 2011-06-09 17:26:53Z tcarlson $
3 * --------------------------------------------------------------------------------------
4 * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
5 *
6 * The software in this package is published under the terms of the CPAL v1.0
7 * license, a copy of which has been included with this distribution in the
8 * LICENSE.txt file.
9 */
10
11 package org.mule.config.spring.handlers;
12
13 import org.mule.api.retry.RetryContext;
14 import org.mule.api.retry.RetryNotifier;
15
16 public class TestRetryNotifier implements RetryNotifier
17 {
18 private String color = "blue";
19
20 public void onSuccess(RetryContext context)
21 {
22 // empty
23 }
24
25 public void onFailure(RetryContext context, Throwable e)
26 {
27 // empty
28 }
29
30 public String getColor()
31 {
32 return color;
33 }
34
35 public void setColor(String color)
36 {
37 this.color = color;
38 }
39 }