package.html.svn-base

来自「portal越来越流行了」· SVN-BASE 代码 · 共 60 行

SVN-BASE
60
字号
<!--Licensed to the Apache Software Foundation (ASF) under one or morecontributor license agreements.  See the NOTICE file distributed withthis 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 withthe License.  You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed  under the  License is distributed on an "AS IS" BASIS,WITHOUT  WARRANTIES OR CONDITIONS  OF ANY KIND, either  express  orimplied.See the License for the specific language governing permissions andlimitations under the License.--><HTML><HEAD><TITLE>Apache Pluto</TITLE></HEAD><BODY><P>The root package of the Pluto Portlet Container.</P><P>Portals embedding Pluto must implement the    {@link org.apache.pluto.services.PortletContainerServices}   interfac and then retrieve an instance of the container from   the {@link org.apache.pluto.PortletContainerFactory}.</P><H3>Initialization of the container</H3>   <P><xmp>PortletContainerServices services = // your implementation!PortletContainer container =   PortletContainerFactory.createContainer("MyContainer", services);ServletContext context = // the servlet context within which the portal is executingcontainer.init(servletContext);</xmp></P><H3>Processing of Requests</H3>   <P><xmp>if(isActionRequest) {    container.doAction(request, response);}else if(isRenderRequest) {    container.doRender(request, response);}</xmp></P><H3>Shutting Down the Container</H3><P><xmp>container.destroy();</xmp></P></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?