public class JPADomainList extends AbstractDomainList
| Constructor and Description |
|---|
JPADomainList() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDomain(String domain)
Add domain to the service
|
boolean |
containsDomain(String domain)
Return true if the domain exists in the service
|
protected List<String> |
getDomainListInternal()
Return domainList
|
void |
init() |
void |
removeDomain(String domain)
Remove domain from the service
|
void |
setEntityManagerFactory(javax.persistence.EntityManagerFactory entityManagerFactory)
Set the entity manager to use.
|
configure, getDefaultDomain, getDNSServer, getDomains, getLogger, setAutoDetect, setAutoDetectIP, setDNSService, setLogpublic void setEntityManagerFactory(javax.persistence.EntityManagerFactory entityManagerFactory)
entityManagerFactory - @PostConstruct public void init()
protected List<String> getDomainListInternal() throws DomainListException
AbstractDomainListgetDomainListInternal in class AbstractDomainListDomainListExceptionAbstractDomainList.getDomainListInternal()public boolean containsDomain(String domain) throws DomainListException
DomainListdomain - the domainDomainListExceptionDomainList.containsDomain(java.lang.String)public void addDomain(String domain) throws DomainListException
DomainListdomain - domain to addDomainListException - If the domain could not be addedDomainList.addDomain(java.lang.String)public void removeDomain(String domain) throws DomainListException
DomainListdomain - domain to removeDomainListException - If the domain could not be removedDomainList.removeDomain(java.lang.String)Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.