📄 adminconfiguration.java
字号:
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.pluto.driver.config;
import javax.servlet.ServletContext;
import org.apache.pluto.driver.services.portal.admin.PortletRegistryAdminService;
import org.apache.pluto.driver.services.portal.admin.RenderConfigAdminService;
/**
* Interface defining a means for obtaining administrative
* services for portal configuration. An implementation
* of this interface will be bound to the portal's
* ServletContext IF administrative functions are
* supported by the current implementation.
*
* @version 1.0
* @since Nov 30, 2005
*/
public interface AdminConfiguration {
/**
* Lifecyle method used to initialize the configuration
* @param context
*/
void init(ServletContext context) throws DriverConfigurationException;
/**
* Lifecylce method used to remove the configuration
* from service.
*/
void destroy() throws DriverConfigurationException;
/**
* Retrieve the administrative service for managing the
* portlet registry.
*
* @return the service if one has been provided
*/
PortletRegistryAdminService getPortletRegistryAdminService();
/**
* Retrieve the administrative service for managing the
* render configuration.
* @return the service if one has been provided
*/
RenderConfigAdminService getRenderConfigAdminService();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -