Package org.idempiere.process
Class MappedProcessFactory
- java.lang.Object
-
- org.adempiere.base.MappedByNameFactory<ProcessCall>
-
- org.idempiere.process.MappedProcessFactory
-
- All Implemented Interfaces:
IMappedByNameFactory<ProcessCall>
,IProcessFactory
,IMappedProcessFactory
public class MappedProcessFactory extends MappedByNameFactory<ProcessCall> implements IProcessFactory, IMappedProcessFactory
- Author:
- hengsin
-
-
Constructor Summary
Constructors Constructor Description MappedProcessFactory()
default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessCall
newProcessInstance(String className)
Create new process instancevoid
scan(org.osgi.framework.BundleContext context, String... packages)
Scan packages for class withProcess
annotation and add mapping for it-
Methods inherited from class org.adempiere.base.MappedByNameFactory
addMapping, getSupplier, removeMapping
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.adempiere.base.IMappedByNameFactory
addMapping, getSupplier, newInstance, removeMapping
-
-
-
-
Method Detail
-
newProcessInstance
public ProcessCall newProcessInstance(String className)
Description copied from interface:IProcessFactory
Create new process instance- Specified by:
newProcessInstance
in interfaceIProcessFactory
- Returns:
- new process instance
-
scan
public void scan(org.osgi.framework.BundleContext context, String... packages)
Description copied from interface:IMappedProcessFactory
Scan packages for class withProcess
annotation and add mapping for it- Specified by:
scan
in interfaceIMappedProcessFactory
-
-