| /******************************************************************************* |
| * Copyright (c) 2011 IBM Corporation. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| ******************************************************************************/ |
| package org.eclipse.ptp.rm.jaxb.core.rm; |
| |
| import org.eclipse.ptp.rmsystem.IResourceManager; |
| import org.eclipse.ptp.rmsystem.IResourceManagerConfiguration; |
| import org.eclipse.ptp.rmsystem.IResourceManagerFactory; |
| |
| /** |
| * @since 5.0 |
| */ |
| public class JAXBResourceManagerFactory implements IResourceManagerFactory { |
| |
| /* |
| * (non-Javadoc) |
| * |
| * @see |
| * org.eclipse.ptp.rmsystem.IResourceManagerFactory#create(org.eclipse.ptp |
| * .rmsystem.IResourceManagerConfiguration) |
| */ |
| public IResourceManager create(IResourceManagerConfiguration configuration) { |
| JAXBResourceManagerControl control = new JAXBResourceManagerControl(configuration); |
| JAXBResourceManagerMonitor monitor = new JAXBResourceManagerMonitor(configuration); |
| return new JAXBResourceManager(configuration, control, monitor); |
| } |
| |
| /* |
| * (non-Javadoc) |
| * |
| * @see |
| * org.eclipse.ptp.rmsystem.IResourceManagerFactory#createConfiguration() |
| */ |
| public IResourceManagerConfiguration createConfiguration() { |
| // TODO Auto-generated method stub |
| return null; |
| } |
| |
| /* |
| * (non-Javadoc) |
| * |
| * @see org.eclipse.ptp.rmsystem.IResourceManagerFactory#getId() |
| */ |
| public String getId() { |
| // TODO Auto-generated method stub |
| return null; |
| } |
| |
| /* |
| * (non-Javadoc) |
| * |
| * @see org.eclipse.ptp.rmsystem.IResourceManagerFactory#getName() |
| */ |
| public String getName() { |
| // TODO Auto-generated method stub |
| return null; |
| } |
| } |