com.ca.commons.datamodel.concurrent
Class ConcurrentBuilder
java.lang.Object
com.ca.commons.datamodel.concurrent.ConcurrentBuilder
- All Implemented Interfaces:
- DataModelBuilder
public final class ConcurrentBuilder
- extends Object
- implements DataModelBuilder
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static final Logger logger
ConcurrentBuilder
public ConcurrentBuilder()
getDataModel
@NotNull
public ConcurrentDataModel getDataModel()
- Specified by:
getDataModel in interface DataModelBuilder
mergeFragment
public void mergeFragment(@NotNull
DataModelSource readSource)
throws DataModelException,
IOException,
javax.xml.bind.JAXBException
- Description copied from interface:
DataModelBuilder
- Used to read in a fragment containing values which aren't going to
edited, either because the client application is read-only or because
this fragment is static as far as it is concerned.
- Specified by:
mergeFragment in interface DataModelBuilder
- Parameters:
readSource - Read-only source from which datamodel fragment
should be read.
- Throws:
DataModelSourceException - Problem getting, or processing, fragment.
DataModelException
IOException
javax.xml.bind.JAXBException
mergeFragments
@NotNull
public Set<String> mergeFragments(@NotNull
DataModelSource... readSources)
throws DataModelException,
IOException,
javax.xml.bind.JAXBException
- Throws:
DataModelException
IOException
javax.xml.bind.JAXBException
mergeFragments
@NotNull
public Set<String> mergeFragments(@NotNull
Iterable<? extends DataModelSource> readSources)
throws DataModelException,
IOException,
javax.xml.bind.JAXBException
- Throws:
DataModelException
IOException
javax.xml.bind.JAXBException
refresh
@NotNull
public Set<String> refresh()
throws IOException,
javax.xml.bind.JAXBException
- Throws:
IOException
javax.xml.bind.JAXBException
Created 2011-07-14 13:27 EST