private void loadServerPluginInMasterContainer(URL pluginUrl) throws Exception {
ServerPluginServiceMBean serverPluginService = LookupUtil.getServerPluginService();
MasterServerPluginContainer master = serverPluginService.getMasterPluginContainer();
if (master != null) {
master.loadPlugin(pluginUrl, false); // don't enable it - let the caller do that later
}
return;
}
@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)