Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ServerSideRemotedServiceHolder |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright 2005-2008 The Kuali Foundation | |
3 | * | |
4 | * | |
5 | * Licensed under the Educational Community License, Version 2.0 (the "License"); | |
6 | * you may not use this file except in compliance with the License. | |
7 | * You may obtain a copy of the License at | |
8 | * | |
9 | * http://www.opensource.org/licenses/ecl2.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 org.kuali.rice.ksb.messaging; | |
18 | ||
19 | /** | |
20 | * | |
21 | * @author Kuali Rice Team (rice.collab@kuali.org) | |
22 | */ | |
23 | public class ServerSideRemotedServiceHolder implements ServiceHolder { | |
24 | ||
25 | private Object injectedPojo; | |
26 | private Object service; | |
27 | private ServiceInfo serviceInfo; | |
28 | ||
29 | /** | |
30 | * @param service | |
31 | * @param entry | |
32 | */ | |
33 | 0 | public ServerSideRemotedServiceHolder(Object service, Object injectedPojo, ServiceInfo entry) { |
34 | 0 | this.setService(service); |
35 | 0 | this.setServiceInfo(entry); |
36 | 0 | this.setInjectedPojo(injectedPojo); |
37 | 0 | } |
38 | ||
39 | public Object getInjectedPojo() { | |
40 | 0 | return this.injectedPojo; |
41 | } | |
42 | ||
43 | public void setInjectedPojo(Object injectedPojo) { | |
44 | 0 | this.injectedPojo = injectedPojo; |
45 | 0 | } |
46 | public Object getService() { | |
47 | 0 | return this.service; |
48 | } | |
49 | ||
50 | public ServiceInfo getServiceInfo() { | |
51 | 0 | return this.serviceInfo; |
52 | } | |
53 | ||
54 | ||
55 | public void setService(Object service) { | |
56 | 0 | this.service = service; |
57 | 0 | } |
58 | ||
59 | ||
60 | public void setServiceInfo(ServiceInfo serviceInfo) { | |
61 | 0 | this.serviceInfo = serviceInfo; |
62 | 0 | } |
63 | } |