/******************************************************************************* * Copyright (c) 2010 Wolfgang Werner. * 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: * Wolfgang Werner - initial API and implementation and/or initial documentation *******************************************************************************/ package net.wolfgangwerner.restlet.registry.test.applications; import net.wolfgangwerner.restlet.registry.test.resources.Resource1; import org.restlet.Application; import org.restlet.Restlet; import org.restlet.routing.Router; public class TestApplication extends Application { @Override public Restlet createInboundRoot() { Router router = new Router(getContext()); router.attach("/1",Resource1.class); return router; } }