com.sun.jsftemplating.annotation.HandlerOutput Maven / Gradle / Ivy
/*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the license at
* https://jsftemplating.dev.java.net/cddl1.html or
* jsftemplating/cddl1.txt.
* See the License for the specific language governing
* permissions and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at jsftemplating/cddl1.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* you own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
*/
package com.sun.jsftemplating.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* This is the HandlerOutput Annotation
. It is
* expected to exist on each
* {@link com.sun.jsftemplating.component.factory.ComponentFactory}.
* It must specify an identifier for the ComponentFactory
* so that it may be referenced when defining UIComponents
* in your template or code.
*
* @author Ken Paulsen ([email protected])
*/
@Retention(RetentionPolicy.SOURCE)
@Target(ElementType.METHOD)
public @interface HandlerOutput {
public String name();
public Class type() default Object.class;
public static final String NAME = "name";
public static final String TYPE = "type";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy