public class FolderResourceQM
extends java.lang.Object
implements org.ow2.weblab.core.services.QueueManager
ConfigurationBean| Modifier and Type | Field and Description |
|---|---|
protected ConfigurationBean |
configuration
The bean that contains the configuration of the service.
|
protected org.apache.commons.logging.Log |
logger
The logger used inside
|
protected InterfacesMappingSingleton |
mapping
The mapping between Configurable and QueueManager.
|
protected org.ow2.weblab.core.extended.jaxb.WebLabMarshaller |
marshaller
The (un)marshaller used to read
|
| Constructor and Description |
|---|
FolderResourceQM(ConfigurationBean configuration)
The constructor for the realisation of the QueueManager interface for a FolderResource service.
|
| Modifier and Type | Method and Description |
|---|---|
org.ow2.weblab.core.services.queuemanager.NextResourceReturn |
nextResource(org.ow2.weblab.core.services.queuemanager.NextResourceArgs args) |
protected final org.apache.commons.logging.Log logger
protected final ConfigurationBean configuration
protected final InterfacesMappingSingleton mapping
protected final org.ow2.weblab.core.extended.jaxb.WebLabMarshaller marshaller
public FolderResourceQM(ConfigurationBean configuration) throws org.ow2.weblab.core.services.UnexpectedException, org.ow2.weblab.core.services.AccessDeniedException
configuration - A holder for the configuration of this service.org.ow2.weblab.core.services.UnexpectedException - Cannot be launched here (the method called inside throw it only if default path is null. But this method is not called if
default path is null.)org.ow2.weblab.core.services.AccessDeniedException - If the path represented by default path does not exists, is not a folder or is not readable.public org.ow2.weblab.core.services.queuemanager.NextResourceReturn nextResource(org.ow2.weblab.core.services.queuemanager.NextResourceArgs args)
throws org.ow2.weblab.core.services.EmptyQueueException,
org.ow2.weblab.core.services.UnexpectedException,
org.ow2.weblab.core.services.InvalidParameterException,
org.ow2.weblab.core.services.ServiceNotConfiguredException,
org.ow2.weblab.core.services.AccessDeniedException
nextResource in interface org.ow2.weblab.core.services.QueueManagerorg.ow2.weblab.core.services.EmptyQueueExceptionorg.ow2.weblab.core.services.UnexpectedExceptionorg.ow2.weblab.core.services.InvalidParameterExceptionorg.ow2.weblab.core.services.ServiceNotConfiguredExceptionorg.ow2.weblab.core.services.AccessDeniedExceptionCopyright © 2004-2012. All Rights Reserved.