Annotation Interface ConditionalOnAdmin
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Documented
@ConditionalOnBean(AdminOnlyTarget.class)
public @interface ConditionalOnAdmin
Indicates that this bean should not be created unless the broadleaf-open-admin-platform exists on the classpath. This
can be used for beans that are designed to only exist in the admin (like custom persistence handlers, admin
controllers, etc)
- Since:
- 5.2
- Author:
- Philip Baggett (pbaggett), Brandon Hines (bhines)
- See Also:
-
AdminExistsCondition