K - the type of the pool keysT - the type of the pool valuespublic abstract class PooledTransformerOperation<K,T> extends Object implements org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Startable, org.mule.runtime.api.lifecycle.Stoppable
| Modifier and Type | Field and Description |
|---|---|
protected DocumentBuilderFactory |
documentBuilderFactory |
protected EntityResolver |
entityResolver |
protected EntityExpansion |
expandEntities
Defines how to treat entity expansion.
|
| Constructor and Description |
|---|
PooledTransformerOperation() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.apache.commons.pool2.BasePooledObjectFactory<T> |
createPooledObjectFactory(K key) |
protected void |
doInitialise() |
void |
initialise() |
void |
start() |
void |
stop() |
protected boolean |
testOnReturn() |
protected <V> V |
withTransformer(K key,
org.mule.runtime.core.api.util.func.CheckedFunction<T,V> func) |
protected DocumentBuilderFactory documentBuilderFactory
protected EntityResolver entityResolver
@Parameter @ConfigOverride @Placement(tab="Security") @Summary(value="Set to NEVER to prevent XXE and DoS attacks") protected EntityExpansion expandEntities
public final void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionprotected void doInitialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
org.mule.runtime.api.lifecycle.InitialisationExceptionpublic final void start()
throws org.mule.runtime.api.exception.MuleException
start in interface org.mule.runtime.api.lifecycle.Startableorg.mule.runtime.api.exception.MuleExceptionpublic final void stop()
throws org.mule.runtime.api.exception.MuleException
stop in interface org.mule.runtime.api.lifecycle.Stoppableorg.mule.runtime.api.exception.MuleExceptionprotected abstract org.apache.commons.pool2.BasePooledObjectFactory<T> createPooledObjectFactory(K key)
protected <V> V withTransformer(K key, org.mule.runtime.core.api.util.func.CheckedFunction<T,V> func)
protected boolean testOnReturn()
Copyright © 2026 MuleSoft, Inc.. All rights reserved.