public class MuleLockFactory extends Object implements org.mule.runtime.api.lock.LockFactory, MuleContextAware, org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Disposable
| Constructor and Description |
|---|
MuleLockFactory() |
| Modifier and Type | Method and Description |
|---|---|
Lock |
createLock(String lockId) |
void |
dispose() |
void |
initialise() |
void |
setLockProvider(LockProvider lockProvider) |
void |
setMuleContext(MuleContext context) |
public Lock createLock(String lockId)
createLock in interface org.mule.runtime.api.lock.LockFactorypublic void dispose()
dispose in interface org.mule.runtime.api.lifecycle.Disposablepublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic void setLockProvider(LockProvider lockProvider)
public void setMuleContext(MuleContext context)
setMuleContext in interface MuleContextAwarecontext - the Mule node.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.