return (operationDefinition.getTimeout() != null) ? operationDefinition.getTimeout()
: this.pluginContainerConfiguration.getOperationInvocationTimeout();
}
private static String getRhqVersion() {
MavenArtifactProperties rhqPluginContainerPom = null;
try {
//check for system property specifiers before going to classpath
String rhqVersion = System.getProperty("rhq.version");
if ((rhqVersion != null) && !(rhqVersion.trim().isEmpty())) {
return rhqVersion;
}
rhqPluginContainerPom = MavenArtifactProperties.getInstance("org.rhq", "rhq-core-plugin-container");
} catch (MavenArtifactNotFoundException e) {
throw new RuntimeException(e);
}
return rhqPluginContainerPom.getVersion();
}