ServiceRecordProcessorpublic class ApplicationServiceRecordProcessor extends BaseServiceRecordProcessor
| Constructor | Description |
|---|---|
ApplicationServiceRecordProcessor(ServiceRecord record,
java.lang.String path,
java.lang.String domain,
ZoneSelector zoneSelector) |
Create an application service record processor.
|
| Modifier and Type | Method | 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, setPathpublic ApplicationServiceRecordProcessor(ServiceRecord record, java.lang.String path, java.lang.String domain, ZoneSelector zoneSelector) throws java.lang.Exception
record - the service recordpath - the service record registry node pathdomain - the DNS zone/domain namezoneSelector - returns the zone associated with the provided name.java.lang.Exception - if an issue is generated during instantiation.public void initTypeToInfoMapping(ServiceRecord serviceRecord) throws java.lang.Exception
serviceRecord - the registry service record.java.lang.Exception - if an issue is encountered.protected void createTXTInfo(ServiceRecord serviceRecord) throws java.lang.Exception
serviceRecord - the service record.java.lang.Exception - if there is an issue during descriptor creation.protected void createSRVInfo(ServiceRecord serviceRecord) throws java.lang.Exception
serviceRecord - the service record.java.lang.Exception - if there is an issue during descriptor creation.protected void createCNAMEInfo(ServiceRecord serviceRecord) throws java.lang.Exception
serviceRecord - the service record.java.lang.Exception - if there is an issue during descriptor creation.protected void createAAAAInfo(ServiceRecord record) throws java.lang.Exception
record - the service record.java.lang.Exception - if there is an issue during descriptor creation.protected void createAInfo(ServiceRecord record) throws java.lang.Exception
record - the service record.java.lang.Exception - if there is an issue during descriptor creation.public int[] getRecordTypes()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.