public Object run(Config param) throws PropertyVetoException, TransactionFailure { final ThreadPools threadPools = param.createChild(ThreadPools.class); param.setThreadPools(threadPools); return threadPools; } }, currentConfig);
public Object run(Config config) throws PropertyVetoException, TransactionFailure { IiopService iiopService = config.createChild(IiopService.class); config.setIiopService(iiopService); createOrb(iiopService); createIiopListener(iiopService); return null; } }
public Object run(Config config) throws PropertyVetoException { try { ThreadPools tps = config.createChild(ThreadPools.class); config.setThreadPools(tps); createThreadPool(tps); } catch (TransactionFailure ex) { logger.log( Level.SEVERE,failureToCreateThreadPoolsObject , ex); } return null; } }
public Object run(Config param) throws PropertyVetoException, TransactionFailure { final ThreadPools threadPools = param.createChild(ThreadPools.class); param.setThreadPools(threadPools); return threadPools; } }, currentConfig);
public Object run(Config config) throws PropertyVetoException { try { ManagementRules mr = config.createChild(ManagementRules.class); config.setManagementRules(mr); } catch (TransactionFailure ex) { Logger.getLogger(DefaultConfigUpgrade.class.getName()).log( Level.SEVERE, "Failure creating ManagementRules config object", ex); } return null; } }
public Object run(Config config) throws PropertyVetoException, TransactionFailure { DiagnosticService ds = config.createChild(DiagnosticService.class); config.setDiagnosticService(ds); return null; } }
public Object run(Config config) throws PropertyVetoException { try { ThreadPools tps = config.createChild(ThreadPools.class); config.setThreadPools(tps); createThreadPool(tps); } catch (TransactionFailure ex) { Logger.getLogger(DefaultConfigUpgrade.class.getName()).log( Level.SEVERE, "Failure to create ThreadPools config object", ex); } return null; } }
public Object run(Config config) throws PropertyVetoException { try { NetworkConfig nc = config.createChild(NetworkConfig.class); config.setNetworkConfig(nc); createProtocols(nc); createNetworkListeners(nc); createTransports(nc); } catch (TransactionFailure ex) { Logger.getLogger(DefaultConfigUpgrade.class.getName()).log( Level.SEVERE, "Failure creating NetworkConfig config object", ex); } return null; } }
public Object run(Config config) throws PropertyVetoException { try { SecurityService ss = config.createChild(SecurityService.class); config.setSecurityService(ss); createAuthRealm(ss); createJaccProvider(ss); createAuditModule(ss); createMessageSecurityConfig(ss); } catch (TransactionFailure ex) { logger.log( Level.SEVERE, failureCreatingSecurityService, ex); } return null; } }
public Object run(Config config) throws PropertyVetoException, TransactionFailure { DiagnosticService ds = config.createChild(DiagnosticService.class); config.setDiagnosticService(ds); return null; } }
public Object run(Config config) throws PropertyVetoException { try { AvailabilityService as = config.createChild(AvailabilityService.class); config.setAvailabilityService(as); } catch (TransactionFailure ex) { logger.log( Level.SEVERE, failureCreatingAvailabilityServiceConfig, ex); } return null; } }
public Object run(Config config) throws PropertyVetoException { try { NetworkConfig nc = config.createChild(NetworkConfig.class); config.setNetworkConfig(nc); createProtocols(nc); createNetworkListeners(nc); createTransports(nc); } catch (TransactionFailure ex) { logger.log( Level.SEVERE,failureCreatingNetworkConfig , ex); } return null; } }
public Object run(Config config) throws PropertyVetoException { try { AvailabilityService as = config.createChild(AvailabilityService.class); config.setAvailabilityService(as); createWebContainerAvailability(as); createEjbContainerAvailability(as); createJmsAvailability(as); } catch (TransactionFailure ex) { Logger.getLogger(DefaultConfigUpgrade.class.getName()).log( Level.SEVERE, "Failure creating AvailabilityService config object", ex); } return null; } }
public Object run(Config config) throws PropertyVetoException { try { SecurityService ss = config.createChild(SecurityService.class); config.setSecurityService(ss); createAuthRealm(ss); createJaccProvider(ss); createAuditModule(ss); createMessageSecurityConfig(ss); } catch (TransactionFailure ex) { Logger.getLogger(DefaultConfigUpgrade.class.getName()).log( Level.SEVERE, "Failure creating SecurityService config object", ex); } return null; } }
public Object run(Config param) throws PropertyVetoException, TransactionFailure { ResourceRef newResourceRef = param.createChild(ResourceRef.class); newResourceRef.setEnabled(enabled); newResourceRef.setRef(refName); param.getResourceRef().add(newResourceRef); return newResourceRef; } }, config);
public Object run(Config config) throws PropertyVetoException, TransactionFailure { AdminService adminService = config.createChild(AdminService.class); config.setAdminService(adminService); //dasConfig cannot be null. Add a dummy. DasConfig dc = adminService.createChild(DasConfig.class); adminService.setDasConfig(dc); for (int i = 0; i < parser.getAttributeCount(); i++) { String attr = parser.getAttributeLocalName(i); String val = parser.getAttributeValue(i); if (attr.equals("system-jmx-connector-name")) { adminService.setSystemJmxConnectorName(val); } if (attr.equals("type")) { adminService.setType(val); } } createJmxConnector(adminService); createAdminServiceProperty(adminService); return null; } }
public Object run(Config config) throws PropertyVetoException, TransactionFailure { HttpService httpService = config.createChild(HttpService.class); config.setHttpService(httpService); AccessLog al = httpService.createChild(AccessLog.class); httpService.setAccessLog(al); createVirtualServer(httpService); return config; } }
public Object run(Config config) throws PropertyVetoException, TransactionFailure { HttpService httpService = config.createChild(HttpService.class); config.setHttpService(httpService); AccessLog al = httpService.createChild(AccessLog.class); httpService.setAccessLog(al); createVirtualServer(httpService); return config; } }
public Object run(Config param) throws PropertyVetoException, TransactionFailure { final NetworkConfig netConfig = param.createChild(NetworkConfig.class); netConfig.setProtocols(netConfig.createChild(Protocols.class)); netConfig.setNetworkListeners(netConfig.createChild(NetworkListeners.class)); netConfig.setTransports(netConfig.createChild(Transports.class)); param.setNetworkConfig(netConfig); return netConfig; } }, currentConfig);
public Object run(Config param) throws PropertyVetoException, TransactionFailure { final NetworkConfig netConfig = param.createChild(NetworkConfig.class); netConfig.setProtocols(netConfig.createChild(Protocols.class)); netConfig.setNetworkListeners(netConfig.createChild(NetworkListeners.class)); netConfig.setTransports(netConfig.createChild(Transports.class)); param.setNetworkConfig(netConfig); return netConfig; } }, currentConfig);