KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > umo > space > UMOSpaceFactory


1 /*
2  * $Id: UMOSpaceFactory.java 3865 2006-11-09 17:11:08Z Lajos $
3  * --------------------------------------------------------------------------------------
4  * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
5  *
6  * The software in this package is published under the terms of the MuleSource MPL
7  * license, a copy of which has been included with this distribution in the
8  * LICENSE.txt file.
9  */

10
11 package org.mule.umo.space;
12
13 import org.mule.umo.endpoint.UMOImmutableEndpoint;
14
15 /**
16  * A factory for creating Mule Space facade objects
17  */

18 public interface UMOSpaceFactory
19 {
20
21     /**
22      * Creates a space based on the endpoint URI and can use additional properties,
23      * transaction info, security info and filters associated with the endpoint
24      *
25      * @param endpoint the endpoint from which to construct the space
26      * @return an new Space object
27      * @throws UMOSpaceException
28      */

29     public UMOSpace create(UMOImmutableEndpoint endpoint) throws UMOSpaceException;
30
31     /**
32      * Creates a space based on a URI identifier for the space
33      *
34      * @param spaceIdentifier a URI from which to construct the space
35      * @return an new Space object
36      * @throws UMOSpaceException
37      */

38     public UMOSpace create(String JavaDoc spaceIdentifier) throws UMOSpaceException;
39 }
40
Popular Tags