public interface CoresLocator
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
|
List<CoreDescriptor> |
discover(CoreContainer cc)
Load all the CoreDescriptors from persistence store
|
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
|
void create(CoreContainer cc, CoreDescriptor... coreDescriptors)
cc
- the CoreContainercoreDescriptors
- CoreDescriptors to persistvoid persist(CoreContainer cc, CoreDescriptor... coreDescriptors)
cc
- the CoreContainercoreDescriptors
- CoreDescriptors to persistvoid delete(CoreContainer cc, CoreDescriptor... coreDescriptors)
cc
- the CoreContainercoreDescriptors
- CoreDescriptors of the cores to removevoid rename(CoreContainer cc, CoreDescriptor oldCD, CoreDescriptor newCD)
cc
- the CoreContaineroldCD
- the CoreDescriptor of the core before renamingnewCD
- the CoreDescriptor of the core after renamingvoid swap(CoreContainer cc, CoreDescriptor cd1, CoreDescriptor cd2)
cc
- the CoreContainercd1
- the core descriptor of the first core, after swappingcd2
- the core descriptor of the second core, after swappingList<CoreDescriptor> discover(CoreContainer cc)
cc
- the CoreContainerCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.