📄 optionalcontainerservices.java.svn-base
字号:
/* * 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;import org.apache.pluto.spi.optional.PortalAdministrationService;import org.apache.pluto.spi.optional.PortletContextService;import org.apache.pluto.spi.optional.PortletEnvironmentService;import org.apache.pluto.spi.optional.PortletInfoService;import org.apache.pluto.spi.optional.PortletInvokerService;import org.apache.pluto.spi.optional.PortletPreferencesService;import org.apache.pluto.spi.optional.PortletRegistryService;import org.apache.pluto.spi.optional.RequestAttributeService;import org.apache.pluto.spi.optional.UserInfoService;/** * Defines the services necessary for integration between the Pluto Container * and a Portal. * * <p>NOTE: Backwards compatibility is not garaunteed against * this interface as additional services may be needed. * Please extend the DefaultOptionalContainerServices * class to ensure your implementation can be used without * modicications in the future.</p> * * @since 1.1.0 */public interface OptionalContainerServices { /** * Returns the portlet preferences service implementation * used by the container. * * @return portlet preferences service implementation. */ PortletPreferencesService getPortletPreferencesService(); /** * Returns the environment services implementation * used by the container. * * @return portlet environment services implementation. */ PortletEnvironmentService getPortletEnvironmentService(); /** * Returns the portlet registry services implementation * used by the container. * * @return registry service implementation */ PortletRegistryService getPortletRegistryService(); /** * Returns the portlet context services implementation * used by the container. * * @return registry service implementation */ PortletContextService getPortletContextService(); /** * Returns an invoker for the specified PortletWindow. * * @return an invoker which can be used to service the indicated portlet. */ PortletInvokerService getPortletInvokerService(); /** * Returns the portlet info service implementation used * by the container. * * @return portlet info service implementation. */ PortletInfoService getPortletInfoService(); /** * Returns the admin service implementation used by * the container. * * @return portal admin service */ PortalAdministrationService getPortalAdministrationService(); /** * Returns the user info service implementation used * by the container. * * @return user info service */ UserInfoService getUserInfoService(); /** * Returns the request attribute service implementation used by the * container. * * @return request attribute service */ RequestAttributeService getRequestAttributeService(); /** * Returns the NamespaceMapper used to retrieve the Portal * specific PortletWindow namespace and encoding/decoding * of PortletWindow parameters in a PortalURL */ NamespaceMapper getNamespaceMapper();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -