Interceptor.java :  » MVC » fulworx » org » fulworx » core » descriptor » action » Java Open Source

Java Open Source » MVC » fulworx 
fulworx » org » fulworx » core » descriptor » action » Interceptor.java
package org.fulworx.core.descriptor.action;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Supply either class name or name.  The ObjectFactory is used to construct these elements.
 *
 * @author: teastlack
 * @date: Nov 15, 2009
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface Interceptor
{
    Class interceptorClass() default Object.class;

    String name() default "";
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.