public class ConnectionProviderResolver extends Object implements ValueResolver<org.mule.runtime.api.connection.ConnectionProvider>
ValueResolver specialization for producing ConnectionProvider instances through a
ConnectionProviderObjectBuilder| Constructor and Description |
|---|
ConnectionProviderResolver(ConnectionProviderObjectBuilder objectBuilder)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDynamic()
returns
false if subsequent invocations to ValueResolver.resolve(Event) will return the same value. |
org.mule.runtime.api.connection.ConnectionProvider |
resolve(Event event)
Resolves a value from the given
event |
void |
setOwnerConfigName(String ownerConfigName) |
public ConnectionProviderResolver(ConnectionProviderObjectBuilder objectBuilder)
objectBuilder - an object builder to instantiate the ConnectionProviderpublic org.mule.runtime.api.connection.ConnectionProvider resolve(Event event) throws org.mule.runtime.api.exception.MuleException
ValueResolvereventresolve in interface ValueResolver<org.mule.runtime.api.connection.ConnectionProvider>event - a Eventorg.mule.runtime.api.exception.MuleException - if the resolution of the value failspublic boolean isDynamic()
ValueResolverfalse if subsequent invocations to ValueResolver.resolve(Event) will return the same value. Notice that if it
returns true, then it might return different values per invocation but that's not guaranteed.isDynamic in interface ValueResolver<org.mule.runtime.api.connection.ConnectionProvider>public void setOwnerConfigName(String ownerConfigName)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.