thinkmap.datasource.util
Class CompositeDataSource
java.lang.Object
thinkmap.datasource.util.AbstractDataSource
thinkmap.datasource.util.CompositeDataSource
- All Implemented Interfaces:
- IDataSource
public class CompositeDataSource
- extends AbstractDataSource
The composite datasource aggregates two or more datasources into a single
datasource.
- Version:
- $Revision $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeDataSource
public CompositeDataSource()
CompositeDataSource
public CompositeDataSource(IDataSource a,
IDataSource b)
addDataSource
public void addDataSource(IDataSource ds)
createRequest
public IEntityHandler createRequest(IEntityHandler callback)
- Description copied from interface:
IDataSource
- Create a request. The server and client's IEntityHandlers are linked.
- Specified by:
createRequest in interface IDataSource- Overrides:
createRequest in class AbstractDataSource
- Parameters:
callback - The IEntityHandler that will recieve the response.
- Returns:
- The IEntityHandler for sending a request.
Copyright © 2013 Thinkmap, Inc. All Rights Reserved.