public interface DomainRepository
Domain available on the container| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(String name)
Checks if exists a domain with the given name.
|
boolean |
containsCompatible(BundleDescriptor descriptor)
Checks if exists a domain compatible with the given bundle descriptor.
|
Domain |
getCompatibleDomain(BundleDescriptor descriptor)
Gets a domain compatible with the given bundle descriptor.
|
Domain |
getDomain(String name)
Gets the domain matching given name.
|
Domain getDomain(String name) throws DomainNotFoundException
name - domain name to find. Non empty.Domain corresponding to the given name or null is no such domain exists.DomainNotFoundException - if didn't find any compatible domain.boolean contains(String name)
name - The name of the domain to search.Domain getCompatibleDomain(BundleDescriptor descriptor) throws DomainNotFoundException, AmbiguousDomainReferenceException
BundleDescriptorUtils.isCompatibleVersion(String, String) for more information).descriptor - Descriptor of the domain to find.Domain corresponding to the given descriptor or null is no such domain exists.DomainNotFoundException - if didn't find any compatible domain.AmbiguousDomainReferenceException - if multiple compatible domains were found for given descriptor.boolean containsCompatible(BundleDescriptor descriptor)
BundleDescriptorUtils.isCompatibleVersion(String, String) for more information).descriptor - Descriptor of the domain to find.Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.