public abstract class ReadOnlyCoresLocator extends Object implements CoresLocator
Constructor and Description |
---|
ReadOnlyCoresLocator() |
Modifier and Type | Method and Description |
---|---|
void |
create(CoreContainer cc,
CoreDescriptor... coreDescriptors)
Make new cores available for discovery
|
void |
delete(CoreContainer cc,
CoreDescriptor... coreDescriptors)
Ensure that the core definitions from the passed in CoreDescriptors
are not available for discovery
|
void |
persist(CoreContainer cc,
CoreDescriptor... coreDescriptors)
Ensure that the core definitions from the passed in CoreDescriptors
will persist across container restarts.
|
void |
rename(CoreContainer cc,
CoreDescriptor oldCD,
CoreDescriptor newCD)
Persist the new name of a renamed core
|
void |
swap(CoreContainer cc,
CoreDescriptor cd1,
CoreDescriptor cd2)
Swap two core definitions
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
discover
public void create(CoreContainer cc, CoreDescriptor... coreDescriptors)
CoresLocator
create
in interface CoresLocator
cc
- the CoreContainercoreDescriptors
- CoreDescriptors to persistpublic void persist(CoreContainer cc, CoreDescriptor... coreDescriptors)
CoresLocator
persist
in interface CoresLocator
cc
- the CoreContainercoreDescriptors
- CoreDescriptors to persistpublic void delete(CoreContainer cc, CoreDescriptor... coreDescriptors)
CoresLocator
delete
in interface CoresLocator
cc
- the CoreContainercoreDescriptors
- CoreDescriptors of the cores to removepublic void rename(CoreContainer cc, CoreDescriptor oldCD, CoreDescriptor newCD)
CoresLocator
rename
in interface CoresLocator
cc
- the CoreContaineroldCD
- the CoreDescriptor of the core before renamingnewCD
- the CoreDescriptor of the core after renamingpublic void swap(CoreContainer cc, CoreDescriptor cd1, CoreDescriptor cd2)
CoresLocator
swap
in interface CoresLocator
cc
- the CoreContainercd1
- the core descriptor of the first core, after swappingcd2
- the core descriptor of the second core, after swappingCopyright © 2000–2015 The Apache Software Foundation. All rights reserved.