containerinvocationserviceimpl.java.svn-base

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

SVN-BASE
31
字号
package org.apache.pluto.core;import org.apache.pluto.ContainerInvocation;import org.apache.pluto.PortletContainer;import org.apache.pluto.PortletWindow;import org.apache.pluto.spi.ContainerInvocationService;public class ContainerInvocationServiceImpl implements        ContainerInvocationService{    private final InheritableThreadLocal<ContainerInvocationImpl> CONTAINERS =        new InheritableThreadLocal<ContainerInvocationImpl>();    public void clearInvocation()    {        CONTAINERS.set(null);    }    public ContainerInvocation getInvocation()    {        return (ContainerInvocation)CONTAINERS.get();    }    public void setInvocation(PortletContainer container, PortletWindow window)    {        CONTAINERS.set(new ContainerInvocationImpl(window, container));    }}

⌨️ 快捷键说明

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