org.marid.app.web.dyn.DynResource Maven / Gradle / Ivy
The newest version!
/*-
* #%L
* marid-webapp
* %%
* Copyright (C) 2012 - 2018 MARID software development group
* %%
* This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v. 1.0 which accompanies this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
* and the Eclipse Distribution License is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
* #L%
*/
package org.marid.app.web.dyn;
import org.marid.spring.annotation.PrototypeScoped;
import org.springframework.context.annotation.Bean;
import org.springframework.core.annotation.AliasFor;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Bean
@PrototypeScoped
public @interface DynResource {
@AliasFor(annotation = Bean.class, attribute = "name")
String[] beanName() default {};
String name();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy