public class ApplicationServiceRecordProcessor extends BaseServiceRecordProcessor
Constructor and Description |
---|
ApplicationServiceRecordProcessor(ServiceRecord record,
String path,
String domain,
ZoneSelector zoneSelector)
Create an application service record processor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
createAAAAInfo(ServiceRecord record)
Create an application AAAA record descriptor.
|
protected void |
createAInfo(ServiceRecord record)
Create an application A record descriptor.
|
protected void |
createCNAMEInfo(ServiceRecord serviceRecord)
Create an application CNAME record descriptor.
|
protected void |
createSRVInfo(ServiceRecord serviceRecord)
Create an application SRV record descriptor.
|
protected void |
createTXTInfo(ServiceRecord serviceRecord)
Create an application TXT record descriptor.
|
int[] |
getRecordTypes()
Returns the record types associated with a container service record.
|
void |
initTypeToInfoMapping(ServiceRecord serviceRecord)
Initializes the DNS record type to descriptor mapping based on the
provided service record.
|
getPath, manageDNSRecords, registerRecordDescriptor, registerRecordDescriptor, reverseIP, setPath
public ApplicationServiceRecordProcessor(ServiceRecord record, String path, String domain, ZoneSelector zoneSelector) throws Exception
record
- the service recordpath
- the service record registry node pathdomain
- the DNS zone/domain namezoneSelector
- returns the zone associated with the provided name.Exception
- if an issue is generated during instantiation.public void initTypeToInfoMapping(ServiceRecord serviceRecord) throws Exception
serviceRecord
- the registry service record.Exception
- if an issue is encountered.protected void createTXTInfo(ServiceRecord serviceRecord) throws Exception
serviceRecord
- the service record.Exception
- if there is an issue during descriptor creation.protected void createSRVInfo(ServiceRecord serviceRecord) throws Exception
serviceRecord
- the service record.Exception
- if there is an issue during descriptor creation.protected void createCNAMEInfo(ServiceRecord serviceRecord) throws Exception
serviceRecord
- the service record.Exception
- if there is an issue during descriptor creation.protected void createAAAAInfo(ServiceRecord record) throws Exception
record
- the service record.Exception
- if there is an issue during descriptor creation.protected void createAInfo(ServiceRecord record) throws Exception
record
- the service record.Exception
- if there is an issue during descriptor creation.public int[] getRecordTypes()
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.