use of javax.jnlp.BasicService in project adempiere by adempiere.
the class Adempiere method getCodeBase.
// setSupportEMail
/**
* Get JNLP CodeBase
* @return code base or null
*/
public static URL getCodeBase() {
try {
BasicService bs = (BasicService) ServiceManager.lookup("javax.jnlp.BasicService");
URL url = bs.getCodeBase();
return url;
} catch (UnavailableServiceException ue) {
return null;
}
}
use of javax.jnlp.BasicService in project adempiere by adempiere.
the class Ini method getCodeBase.
/**
* Get JNLP CodeBase
* @return code base or null
*/
public static URL getCodeBase() {
try {
BasicService bs = (BasicService) ServiceManager.lookup("javax.jnlp.BasicService");
URL url = bs.getCodeBase();
return url;
} catch (UnavailableServiceException ue) {
return null;
}
}
Aggregations