use of com.sun.enterprise.registration.impl.ServiceTag in project Payara by payara.
the class RegistrationUtil method getGFInstanceURN.
public static String getGFInstanceURN() throws RegistrationException {
SysnetRegistrationService srs = new SysnetRegistrationService(getServiceTagRegistry());
List<ServiceTag> st = srs.getRegistrationDescriptors(getGFProductURN());
if (st.isEmpty()) {
throw new RegistrationException("Instance URN for " + getGFProductURN() + // i18n
" not found");
}
return st.get(0).getInstanceURN();
}
Aggregations