001 /*
002 * Apache License
003 * Version 2.0, January 2004
004 * http://www.apache.org/licenses/
005 *
006 * Copyright 2008 by chenillekit.org
007 *
008 * Licensed under the Apache License, Version 2.0 (the "License");
009 * you may not use this file except in compliance with the License.
010 * You may obtain a copy of the License at
011 *
012 * http://www.apache.org/licenses/LICENSE-2.0
013 */
014
015 package org.chenillekit.tapestry.core.services;
016
017 import java.lang.annotation.Documented;
018 import static java.lang.annotation.ElementType.FIELD;
019 import static java.lang.annotation.ElementType.PARAMETER;
020 import java.lang.annotation.Retention;
021 import static java.lang.annotation.RetentionPolicy.RUNTIME;
022 import java.lang.annotation.Target;
023
024 /**
025 * Marker annotation to select the correct {@link org.apache.tapestry5.services.AssetFactory} for injection.
026 * The marked interface will provide assets located anywhere in the space.
027 */
028 @Target({PARAMETER, FIELD})
029 @Retention(RUNTIME)
030 @Documented
031 public @interface URIProvider
032 {
033
034 }