ServiceRecordProcessorpublic class ContainerServiceRecordProcessor extends BaseServiceRecordProcessor
| Constructor | Description |
|---|---|
ContainerServiceRecordProcessor(ServiceRecord record,
java.lang.String path,
java.lang.String domain,
ZoneSelector zoneSelector) |
Create a container service record processor.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
createAAAAInfo(ServiceRecord record) |
Creates a container AAAA (IPv6) record descriptor.
|
protected void |
createAInfo(ServiceRecord record) |
Creates a container A (IPv4) record descriptor.
|
protected void |
createPTRInfo(ServiceRecord record) |
Creates a container PTR record descriptor.
|
protected void |
createTXTInfo(ServiceRecord serviceRecord) |
Create a container 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 ContainerServiceRecordProcessor(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 arises.protected void createTXTInfo(ServiceRecord serviceRecord) throws java.lang.Exception
serviceRecord - the service record.java.lang.Exception - if the descriptor creation yields an issue.protected void createPTRInfo(ServiceRecord record) throws java.lang.Exception
record - the service record.java.lang.Exception - if the descriptor creation yields an issue.protected void createAAAAInfo(ServiceRecord record) throws java.lang.Exception
record - the service recordjava.lang.Exception - if the descriptor creation yields an issue.protected void createAInfo(ServiceRecord record) throws java.lang.Exception
record - service record.java.lang.Exception - if the descriptor creation yields an issue.public int[] getRecordTypes()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.