public class ResourceSetCacheComponent
extends java.lang.Object
ResourceSet. Whereas the ResourceSetFactory only creates new instances of
ResourceSet's, this component enables a cache for a certain resource set.| Constructor and Description |
|---|
ResourceSetCacheComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
bindResourceSetFactory(ResourceSetFactory resourceSetFactory)
Binds the
ResourceSetFactory to this component |
ResourceSet |
getResourceSet() |
void |
unbindResourceSetFactory(ResourceSetFactory resourceSetFactory)
Unbind the resource set factory instance on shutdown
|
public ResourceSet getResourceSet()
public void bindResourceSetFactory(ResourceSetFactory resourceSetFactory)
ResourceSetFactory to this componentresourceSetFactory - public void unbindResourceSetFactory(ResourceSetFactory resourceSetFactory)
resourceSetFactory - the resource set factory to be removedBryan Hunt, Data In Motion Consulting