@@ -0,0 +1,1721 @@
+/*%0A * Copyright %C2%A9 2010 Red Hat, Inc.%0A *%0A * This is free software; you can redistribute it and/or modify it%0A * under the terms of the GNU Lesser General Public License as%0A * published by the Free Software Foundation; either version 2.1 of%0A * the License, or (at your option) any later version.%0A *%0A * This software is distributed in the hope that it will be useful,%0A * but WITHOUT ANY WARRANTY; without even the implied warranty of%0A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU%0A * Lesser General Public License for more details.%0A *%0A * You should have received a copy of the GNU Lesser General Public%0A * License along with this software; if not, write to the Free%0A * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA%0A * 02110-1301 USA, or see the FSF site: http://www.fsf.org.%0A */%0Apackage com.redhat.rhevm.api.dummy.deploy;%0A%0Aimport java.util.HashSet;%0Aimport java.util.Set;%0A%0Aimport javax.ws.rs.core.Application;%0A%0Aimport com.redhat.rhevm.api.powershell.resource.PowerShellApiResource;%0Aimport com.redhat.rhevm.api.powershell.resource.PowerShellHostsResource;%0Aimport com.redhat.rhevm.api.powershell.resource.PowerShellVmsResource;%0A%0Apublic class PowerShellApplication extends Application %7B%0A%0A    private Set%3CObject%3E singletons = new HashSet%3CObject%3E();%0A    private Set%3CClass%3C?%3E%3E classes = new HashSet%3CClass%3C?%3E%3E();%0A%0A    public PowerShellApplication() %7B%0A        singletons.add(new PowerShellHostsResource());%0A        singletons.add(new PowerShellVmsResource());%0A        classes.add(PowerShellApiResource.class);%0A    %7D%0A%0A    @Override%0A    public Set%3CClass%3C?%3E%3E getClasses() %7B%0A        return classes;%0A    %7D%0A%0A    @Override%0A    public Set%3CObject%3E getSingletons() %7B%0A        return singletons;%0A    %7D%0A%7D%0A

Add a Application subclass for the PowerShell implementation