You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "joungdal.nam (JIRA)" <ji...@apache.org> on 2017/09/29 07:30:00 UTC

[jira] [Created] (IGNITE-6531) Need to add a 'required' field to the SpringResource annotation.

joungdal.nam created IGNITE-6531:
------------------------------------

             Summary: Need to add a 'required' field to the SpringResource annotation.
                 Key: IGNITE-6531
                 URL: https://issues.apache.org/jira/browse/IGNITE-6531
             Project: Ignite
          Issue Type: Improvement
          Components: spring
    Affects Versions: 2.3
            Reporter: joungdal.nam
            Priority: Minor


In my test environment, only the client is used(setForceServerMode(true)). Operating environments use clients and servers.
Sometimes Injection is not required in the test environment.
NoSuchBeanDefinitionException is not generated by specifying a value of false.

public @interface SpringResource {
	
	/**
	 * Declares whether the annotated dependency is required.
	 * <p>Defaults to {@code true}.
	 */
	boolean required() default true;





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)