createHostName static method
Implementation
static HostName createHostName(String hostName) {
final activationFactory =
CreateActivationFactory(_className, IID_IHostNameFactory);
try {
return IHostNameFactory.fromRawPointer(activationFactory)
.createHostName(hostName);
} finally {
free(activationFactory);
}
}