1 | /* |
2 | * Copyright 2003,2004 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 | package org.apache.pluto.driver.config.impl; |
17 | |
18 | import org.apache.pluto.driver.services.portal.admin.RenderConfigAdminService; |
19 | import org.apache.pluto.driver.services.portal.admin.PortletRegistryAdminService; |
20 | import org.apache.pluto.driver.config.AdminConfiguration; |
21 | |
22 | import javax.servlet.ServletContext; |
23 | |
24 | /** |
25 | * |
26 | * @author <a href="mailto:ddewolf@apache.org">David H. DeWolf</a>: |
27 | * @version 1.0 |
28 | * @since Nov 30, 2005 |
29 | */ |
30 | public class AdminConfigurationImpl implements AdminConfiguration { |
31 | |
32 | private PortletRegistryAdminService portletRegistryAdminService; |
33 | private RenderConfigAdminService renderConfigAdminService; |
34 | |
35 | public void init(ServletContext context) { |
36 | |
37 | } |
38 | |
39 | public void destroy() { |
40 | |
41 | } |
42 | |
43 | public PortletRegistryAdminService getPortletRegistryAdminService() { |
44 | return portletRegistryAdminService; |
45 | } |
46 | |
47 | public void setPortletRegistryAdminService(PortletRegistryAdminService portletRegistryAdminService) { |
48 | this.portletRegistryAdminService = portletRegistryAdminService; |
49 | } |
50 | |
51 | public RenderConfigAdminService getRenderConfigAdminService() { |
52 | return renderConfigAdminService; |
53 | } |
54 | |
55 | public void setRenderConfigAdminService(RenderConfigAdminService renderConfigAdminService) { |
56 | this.renderConfigAdminService = renderConfigAdminService; |
57 | } |
58 | |
59 | |
60 | } |