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, waitdiscoverpublic void create(CoreContainer cc, CoreDescriptor... coreDescriptors)
CoresLocatorcreate in interface CoresLocatorcc - the CoreContainercoreDescriptors - CoreDescriptors to persistpublic void persist(CoreContainer cc, CoreDescriptor... coreDescriptors)
CoresLocatorpersist in interface CoresLocatorcc - the CoreContainercoreDescriptors - CoreDescriptors to persistpublic void delete(CoreContainer cc, CoreDescriptor... coreDescriptors)
CoresLocatordelete in interface CoresLocatorcc - the CoreContainercoreDescriptors - CoreDescriptors of the cores to removepublic void rename(CoreContainer cc, CoreDescriptor oldCD, CoreDescriptor newCD)
CoresLocatorrename in interface CoresLocatorcc - the CoreContaineroldCD - the CoreDescriptor of the core before renamingnewCD - the CoreDescriptor of the core after renamingpublic void swap(CoreContainer cc, CoreDescriptor cd1, CoreDescriptor cd2)
CoresLocatorswap in interface CoresLocatorcc - 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.