01: /*
02: * Copyright 2005-2006 The Kuali Foundation.
03: *
04: *
05: * Licensed under the Educational Community License, Version 1.0 (the "License");
06: * you may not use this file except in compliance with the License.
07: * You may obtain a copy of the License at
08: *
09: * http://www.opensource.org/licenses/ecl1.php
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package edu.iu.uis.eden.messaging;
18:
19: /**
20: * Holds the reference to an endpoint of a service as well as the {@link ServiceInfo}
21: * that defines the service.
22: *
23: * @author Kuali Rice Team (kuali-rice@googlegroups.com)
24: */
25: public class RemotedServiceHolder {
26:
27: private Object service;
28: private ServiceInfo serviceInfo;
29:
30: public RemotedServiceHolder(Object service, ServiceInfo entry) {
31: this .setService(service);
32: this .setServiceInfo(entry);
33: }
34:
35: public ServiceInfo getServiceInfo() {
36: return this .serviceInfo;
37: }
38:
39: public void setServiceInfo(ServiceInfo entry) {
40: this .serviceInfo = entry;
41: }
42:
43: public Object getService() {
44: return this .service;
45: }
46:
47: public void setService(Object service) {
48: this.service = service;
49: }
50:
51: }
|