Search in sources :

Example 1 with LocalSpace

use of org.jpos.space.LocalSpace in project jPOS by jpos.

the class QServer method grabSpace.

private LocalSpace grabSpace(Element e) throws ConfigurationException {
    String uri = e != null ? e.getText() : "";
    Space sp = SpaceFactory.getSpace(uri);
    if (sp instanceof LocalSpace) {
        return (LocalSpace) sp;
    }
    throw new ConfigurationException("Invalid space " + uri);
}
Also used : LocalSpace(org.jpos.space.LocalSpace) Space(org.jpos.space.Space) LocalSpace(org.jpos.space.LocalSpace) ConfigurationException(org.jpos.core.ConfigurationException)

Aggregations

ConfigurationException (org.jpos.core.ConfigurationException)1 LocalSpace (org.jpos.space.LocalSpace)1 Space (org.jpos.space.Space)1