Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright 2013 International Business Machines Corp. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
 
 package com.ibm.jbatch.container.servicesmanager;
 
 import java.util.Map;
 
 public class ServiceTypes {
 	
 	public enum Name {
 		JAVA_EDITION_IS_SE_DUMMY_SERVICE, 
 		TRANSACTION_SERVICE, 
 		PERSISTENCE_MANAGEMENT_SERVICE, 
 		JOB_STATUS_MANAGEMENT_SERVICE, 
 		BATCH_THREADPOOL_SERVICE, 
 		BATCH_KERNEL_SERVICE, 
 		JOB_ID_MANAGEMENT_SERVICE, 
 		CALLBACK_SERVICE, 
 		JOBXML_LOADER_SERVICE,                // Preferred
 		DELEGATING_JOBXML_LOADER_SERVICE,      // Delegating wrapper
 		CONTAINER_ARTIFACT_FACTORY_SERVICE,   // Preferred
 		DELEGATING_ARTIFACT_FACTORY_SERVICE  // Delegating wrapper
 	}
 	
 	public static final String J2SE_MODE = "J2SE_MODE"// Trying to preserve  this value since we already shared it.
 	public static final String TRANSACTION_SERVICE = "TRANSACTION_SERVICE";
 	public static final String PERSISTENCE_MANAGEMENT_SERVICE = "PERSISTENCE_MANAGEMENT_SERVICE";
 	public static final String JOB_STATUS_MANAGEMENT_SERVICE = "JOB_STATUS_MANAGEMENT_SERVICE";
 	public static final String BATCH_THREADPOOL_SERVICE = "BATCH_THREADPOOL_SERVICE";
 	public static final String BATCH_KERNEL_SERVICE = "BATCH_KERNEL_SERVICE";
 	public static final String JOB_ID_MANAGEMENT_SERVICE = "JOB_ID_MANAGEMENT_SERVICE";
 	public static final String CALLBACK_SERVICE = "CALLBACK_SERVICE";
 	public static final String JOBXML_LOADER_SERVICE = "JOBXML_LOADER_SERVICE";
 	public static final String DELEGATING_JOBXML_LOADER_SERVICE = "DELEGATING_JOBXML_LOADER_SERVICE";
 	public static final String CONTAINER_ARTIFACT_FACTORY_SERVICE = "CONTAINER_ARTIFACT_FACTORY_SERVICE";
 	public static final String DELEGATING_ARTIFACT_FACTORY_SERVICE = "DELEGATING_ARTIFACT_FACTORY_SERVICE";
 
 	// The purpose of the awkwardness of complexity of treating SE vs EE as a
 	// "service" is to emphasize the fact that it's something an
 	// integrator of the RI into a new environment would configure, rather than
 	// a "batch admin".
 	private static final String DEFAULT_JAVA_EDITION_IS_SE_DUMMY_SERVICE = "false";
 	private static final String DEFAULT_TRANSACTION_SERVICE = "com.ibm.jbatch.container.services.impl.BatchTransactionServiceImpl";
 	private static final String DEFAULT_PERSISTENCE_MGR_CLASS = "com.ibm.jbatch.container.services.impl.JDBCPersistenceManagerImpl";
 	private static final String DEFAULT_JOBSTATUS_MGR_SERVICE = "com.ibm.jbatch.container.services.impl.JobStatusManagerImpl";
 	private static final String DEFAULT_BATCH_THREADPOOL_SERVICE = "com.ibm.jbatch.container.services.impl.GrowableThreadPoolServiceImpl";
 	private static final String DEFAULT_BATCH_KERNEL_SERVICE = "com.ibm.jbatch.container.impl.BatchKernelImpl";
 	private static final String DEFAULT_JOBID_MGR_SERVICE = "com.ibm.jbatch.container.services.impl.JobIdManagerImpl";
 	private static final String DEFAULT_CALLBACK_SERVICE = "com.ibm.jbatch.container.callback.JobEndCallbackManagerImpl";
 	private static final String DEFAULT_JOBXML_LOADER_SERVICE = "com.ibm.jbatch.container.services.impl.DelegatingJobXMLLoaderServiceImpl";
 	private static final String DEFAULT_DELEGATING_JOBXML_LOADER_SERVICE = "com.ibm.jbatch.container.services.impl.DelegatingJobXMLLoaderServiceImpl";
 	private static final String DEFAULT_CONTAINER_ARTIFACT_FACTORY_SERVICE = "com.ibm.jbatch.container.services.impl.DelegatingBatchArtifactFactoryImpl";
 	private static final String DEFAULT_DELEGATING_ARTIFACT_FACTORY_SERVICE = "com.ibm.jbatch.container.services.impl.DelegatingBatchArtifactFactoryImpl";
 
 	private static Map<StringNameservicePropertyNames;
 	static { 
 	}
 	
 	public static Map<StringNamegetServicePropertyNames() {
 	}
 	
 	// Use class names instead of Class objects to not drag in any dependencies);
 	private static Map<NameStringserviceImplClassNames;
 	static { 
	}
	public static Map<NameStringgetServiceImplClassNames() {
	}
New to GrepCode? Check out our FAQ X