public class OutputStreamContainerFactoryTracker
extends java.lang.Object
Constructor and Description |
---|
OutputStreamContainerFactoryTracker() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate(org.osgi.framework.BundleContext bundleContext) |
protected void |
deactivate() |
OutputStreamContainerFactory |
getOutputStreamContainerFactory() |
OutputStreamContainerFactory |
getOutputStreamContainerFactory(java.lang.String outputStreamContainerFactoryName) |
java.util.Set<java.lang.String> |
getOutputStreamContainerFactoryNames() |
void |
runWithSwappedLog(java.lang.Runnable runnable,
java.lang.String outputStreamHint) |
void |
runWithSwappedLog(java.lang.Runnable runnable,
java.lang.String outputStreamName,
java.io.OutputStream outputStream) |
void |
runWithSwappedLog(java.lang.Runnable runnable,
java.lang.String outputStreamHint,
java.lang.String outputStreamContainerName) |
protected void |
setModuleServiceLifecycle(com.liferay.portal.kernel.module.framework.ModuleServiceLifecycle moduleServiceLifecycle) |
protected void |
setOutputStreamContainerFactory(OutputStreamContainerFactory outputStreamContainerFactory) |
protected void |
unsetOutputStreamContainerFactory(OutputStreamContainerFactory outputStreamContainerFactory) |
public OutputStreamContainerFactory getOutputStreamContainerFactory()
public OutputStreamContainerFactory getOutputStreamContainerFactory(java.lang.String outputStreamContainerFactoryName)
public java.util.Set<java.lang.String> getOutputStreamContainerFactoryNames()
public void runWithSwappedLog(java.lang.Runnable runnable, java.lang.String outputStreamHint)
public void runWithSwappedLog(java.lang.Runnable runnable, java.lang.String outputStreamName, java.io.OutputStream outputStream)
public void runWithSwappedLog(java.lang.Runnable runnable, java.lang.String outputStreamHint, java.lang.String outputStreamContainerName)
protected void activate(org.osgi.framework.BundleContext bundleContext)
protected void deactivate()
protected void setModuleServiceLifecycle(com.liferay.portal.kernel.module.framework.ModuleServiceLifecycle moduleServiceLifecycle)
protected void setOutputStreamContainerFactory(OutputStreamContainerFactory outputStreamContainerFactory)
protected void unsetOutputStreamContainerFactory(OutputStreamContainerFactory outputStreamContainerFactory)