Class SpaceFactory
java.lang.Object
org.jpos.space.SpaceFactory
Creates a space based on a space URI.
A space URI has three parts:
- scheme
- name
- optional parameter
Examples:
// default unnamed space (tspace:default)
Space sp = SpaceFactory.getSpace ();
// transient space named "test"
Space sp = SpaceFactory.getSpace ("transient:test");
// lspace (Loom-optimized) named "test"
Space sp = SpaceFactory.getSpace ("lspace:test");
// persistent space named "test"
Space sp = SpaceFactory.getSpace ("persistent:test");
// jdbm space named test
Space sp = SpaceFactory.getSpace ("jdbm:test");
// jdbm space named test, storage located in /tmp/test
Space sp = SpaceFactory.getSpace ("jdbm:test:/tmp/test");
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TSPACE
-
LSPACE
-
TRANSIENT
-
PERSISTENT
- See Also:
-
SPACELET
-
JDBM
-
JE
-
DEFAULT
-
-
Constructor Details
-
SpaceFactory
public SpaceFactory()
-
-
Method Details
-
getSpace
-
getSpace
-
getSpace
-
getGCExecutor
-