org.mule.impl.space
Class DefaultSpaceFactory
java.lang.Object
org.mule.impl.space.DefaultSpaceFactory
- All Implemented Interfaces:
- UMOSpaceFactory
- Direct Known Subclasses:
- FileSpaceFactory, VMSpaceFactory
- public abstract class DefaultSpaceFactory
- extends Object
- implements UMOSpaceFactory
As Space factory that creates a local, non-shared space. If a Jounaling or DB
persistence strategy is used this can be used in a clustered environment
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSpaceFactory
public DefaultSpaceFactory()
DefaultSpaceFactory
public DefaultSpaceFactory(boolean enableMonitorEvents)
DefaultSpaceFactory
public DefaultSpaceFactory(boolean enableMonitorEvents,
int capacity)
DefaultSpaceFactory
public DefaultSpaceFactory(QueuePersistenceStrategy ps,
boolean enableMonitorEvents)
DefaultSpaceFactory
public DefaultSpaceFactory(QueuePersistenceStrategy ps,
boolean enableMonitorEvents,
int capacity)
DefaultSpaceFactory
public DefaultSpaceFactory(QueueManager qm,
boolean enableMonitorEvents)
isEnableMonitorEvents
public boolean isEnableMonitorEvents()
setEnableMonitorEvents
public void setEnableMonitorEvents(boolean enableMonitorEvents)
getCapacity
public int getCapacity()
setCapacity
public void setCapacity(int capacity)
getPersistenceStrategy
public QueuePersistenceStrategy getPersistenceStrategy()
setPersistenceStrategy
public void setPersistenceStrategy(QueuePersistenceStrategy persistenceStrategy)
getQueueManager
public QueueManager getQueueManager()
setQueueManager
public void setQueueManager(QueueManager queueManager)
isEnableCaching
public boolean isEnableCaching()
setEnableCaching
public void setEnableCaching(boolean enableCaching)
create
public UMOSpace create(String name)
throws UMOSpaceException
- Description copied from interface:
UMOSpaceFactory
- Creates a space based on a URI identifier for the space
- Specified by:
create in interface UMOSpaceFactory
- Parameters:
name - a URI from which to construct the space
- Returns:
- an new Space object
- Throws:
UMOSpaceException
create
public UMOSpace create(UMOImmutableEndpoint endpoint)
throws UMOSpaceException
- Creates a space based on the endpoint URI and can use additional properties,
transaction info, security info and filters associated with the endpoint
- Specified by:
create in interface UMOSpaceFactory
- Parameters:
endpoint - the endpoint from which to construct the space
- Returns:
- an new Space object
- Throws:
UMOSpaceException
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.