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
- Version:
- $Revision: 3167 $
- Author:
- Ross Mason
| 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(org.mule.util.queue.QueuePersistenceStrategy ps,
boolean enableMonitorEvents)
DefaultSpaceFactory
public DefaultSpaceFactory(org.mule.util.queue.QueuePersistenceStrategy ps,
boolean enableMonitorEvents,
int capacity)
DefaultSpaceFactory
public DefaultSpaceFactory(org.mule.util.queue.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 org.mule.util.queue.QueuePersistenceStrategy getPersistenceStrategy()
setPersistenceStrategy
public void setPersistenceStrategy(org.mule.util.queue.QueuePersistenceStrategy persistenceStrategy)
getQueueManager
public org.mule.util.queue.QueueManager getQueueManager()
setQueueManager
public void setQueueManager(org.mule.util.queue.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(org.mule.umo.endpoint.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 SymphonySoft Limited. All Rights Reserved.