View Javadoc

1   /*
2    * Copyright 2004,2005 The Apache Software Foundation.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  
17  package org.apache.savan.eventing.subscribers;
18  
19  import org.apache.axis2.addressing.EndpointReference;
20  import org.apache.savan.eventing.Delivery;
21  import org.apache.savan.subscribers.Subscriber;
22  
23  /***
24   * Defines methods common to all eventing subscribers.
25   */
26  public interface EventingSubscriber extends Subscriber {
27  	
28  	/***
29  	 * To get the EndTo EPR
30  	 * @return
31  	 */
32  	EndpointReference getEndToEPr();
33  	
34  	/***
35  	 * To get the Delivery object
36  	 * @return
37  	 */
38  	Delivery getDelivery();
39  	
40  	/***
41  	 * To se the Delivery object
42  	 * @param delivery
43  	 */
44  	void setDelivery(Delivery delivery);
45  	
46  	/***
47  	 * To set the EndTo EPR
48  	 * @param errorReportingEPR
49  	 */
50  	void setEndToEPr(EndpointReference errorReportingEPR);
51  	
52  }