📄 containerinvocationserviceimpl.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -