|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bareflow.ModuleFactory
public abstract class ModuleFactory
Defines a factory to create module instances.
IModule| Constructor Summary | |
|---|---|
protected |
ModuleFactory()
|
| Method Summary | |
|---|---|
abstract IModule |
createModule(java.io.InputStream stream)
Creates new module from the input stream |
abstract IModule |
createModule(java.lang.String path)
Creates new module from the resource specified by path |
static ModuleFactory |
newInstance()
Creates new ModuleFactory instance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ModuleFactory()
| Method Detail |
|---|
public static ModuleFactory newInstance()
public abstract IModule createModule(java.lang.String path)
throws BareflowException
path - module location
BareflowException
public abstract IModule createModule(java.io.InputStream stream)
throws BareflowException
stream - input stream
BareflowException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||