Update of 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-spring/src/main/java/org/xdoclet/plugin/spring/qtags
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4075/plugin-spring/src/main/java/org/xdoclet/plugin/spring/qtags

Added Files:
        SpringBeanTag.java SpringConstructorArgTag.java 
        SpringPropertyTag.java 
Log Message:
 XDP-163 - commitet spring plugin


--- NEW FILE: SpringPropertyTag.java ---
/**
 * 
 */
package org.xdoclet.plugin.spring.qtags;

import com.thoughtworks.qdox.model.DocletTag;

/**
 * Declares a bean property. Can be used at the class level (in which case the 
"name" attribute
 * is required and references a javabean property on this class or a parent) or 
on the mutator of a
 * javabean property. 
 * 
 * @author Renaud Bruyeron
 * @version $Id: SpringPropertyTag.java,v 1.1 2006/02/09 10:32:53 ko5tik Exp $
 * @qtags.location class
 * @qtags.location method
 */
public interface SpringPropertyTag extends DocletTag {
    
        /**
         * The name of the property to be wired (only when used at the class 
level)
         */
    String getName_();
    
        /**
         * The id of another bean to wire to the property.
         */
    String getRef();
    
        /**
         * The value to assign to the property.
         */
    String getValue_();
    
        /**
         * Comma-separated list of values to assign as a List to a
         * property of type java.util.List.
         */
    String getList();
}

--- NEW FILE: SpringConstructorArgTag.java ---
/**
 * Created by Renaud Bruyeron on 08-Feb-2006
 */
package org.xdoclet.plugin.spring.qtags;

import com.thoughtworks.qdox.model.DocletTag;

/**
 * Wires a bean constructor argument.
 * 
 * @author Renaud Bruyeron
 * @version $Id: SpringConstructorArgTag.java,v 1.1 2006/02/09 10:32:53 ko5tik 
Exp $
 * @qtags.location constructor
 */
public interface SpringConstructorArgTag extends DocletTag {
        
        /**
         * The id of another bean to wire to the constructor argument.
         */
        String getRef();
        
        /**
         * Comma-separated list of values to assign as a List to a
         * constructor argument of type java.util.List.
         */
        String getList();
        
        /**
         * The value to assign to the constructor argument.
         */
        String getValue_();

}

--- NEW FILE: SpringBeanTag.java ---
/**
 * 
 */
package org.xdoclet.plugin.spring.qtags;

import com.thoughtworks.qdox.model.DocletTag;

/**
 * Defines a Spring bean.
 * 
 * @author Renaud Bruyeron
 * @version $Id: SpringBeanTag.java,v 1.1 2006/02/09 10:32:53 ko5tik Exp $
 * @qtags.location class
 */
public interface SpringBeanTag extends DocletTag {

        /**
         * ID for the bean. This should be unique within the spring 
configuration. Either this
         * property, or the "name" property must be specified for each bean. 
         */
    String getId();
    
    /**
     * Name for the bean. This property can be used in place of the "id" 
attribute, where
     * the name being used contains characters that would be invalid as an XML 
ID attribute.
     */
    String getName_();
    
    /**
     * Sets the autowiring mode for the bean. "byName" wires beans to 
properties by
     * matching the bean's name to the property name. "byType" wires beans to 
properties
     * by matching a bean's type to the property type. "constructor" wires 
beans through
     * a constructor's parameters by matching types. "auto-detect" allows 
Spring to
     * choose between "byType" and "constructor" as it sees fit. "no" indicates 
that
     * no auto-wiring should be performed on this bean.
     * @qtags.allowed-value byName
     * @qtags.allowed-value byType
     * @qtags.allowed-value constructor
     * @qtags.allowed-value auto-detect
     * @qtags.allowed-value no
     */
    String getAutowire();
    
    /**
     * Sets dependency checking rules on a bean. "none" indicates no dependency 
checking.
     * "simple" dependency checking includes primitives and String.
     * "objects" dependency checking includes collaborators (other beans).
     * "all" performs both "simple" and "objects" dependency checking.
     * @qtags.allowed-value simple
     * @qtags.allowed-value objects
     * @qtags.allowed-value all
     * @qtags.allowed-value none
     */
    String getDependencyCheck();
    
    /**
     * Describes the bean.
     */
    String getDescription();
    
    /**
     * The name of an method to be invoked on bean factory shutdown.
     */
    String getDestroyMethod();
    
    String getParent();
    
    /**
     * The name of an initialization method to be invoked upon bean 
instantiation.
     */
    String getInitMethod();

    /**
     * If "true", Spring will instantiate this bean when it's needed, rather 
than at bean factory startup.
     */
    Boolean getLazyInit();
    
    /**
     * If "true", one shared instance of this bean will be returned with every 
call to getBean().
     * If "false" each call results in a new instance.
     * @qtags.default true
     */
    Boolean getSingleton();
}



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits

Reply via email to