Class ClassPathScanImplementationLookup
java.lang.Object
org.apache.syncope.core.logic.init.ClassPathScanImplementationLookup
- All Implemented Interfaces:
SyncopeCoreLoader,ImplementationLookup,Ordered
Cache class names for all implementations of Syncope interfaces found in classpath, for later usage.
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends AccountRule> getAccountRuleClass(Class<? extends AccountRuleConf> accountRuleConfClass) protected static StringThis method can be overridden by subclasses to customize classpath scan.getClassNames(String type) Class<? extends InboundCorrelationRule> getInboundCorrelationRuleClass(Class<? extends InboundCorrelationRuleConf> inboundCorrelationRuleConfClass) intgetOrder()Class<? extends PasswordRule> getPasswordRuleClass(Class<? extends PasswordRuleConf> passwordRuleConfClass) Class<? extends PushCorrelationRule> getPushCorrelationRuleClass(Class<? extends PushCorrelationRuleConf> correlationRuleConfClass) Class<? extends ReportJobDelegate> getReportClass(Class<? extends ReportConf> reportConfClass) voidload()Perform generic (not related to any domain) init operations.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.syncope.core.persistence.api.SyncopeCoreLoader
load, unload, unload
-
Constructor Details
-
ClassPathScanImplementationLookup
public ClassPathScanImplementationLookup()
-
-
Method Details
-
getOrder
public int getOrder() -
getBasePackage
This method can be overridden by subclasses to customize classpath scan.- Returns:
- basePackage for classpath scanning
-
load
public void load()Description copied from interface:SyncopeCoreLoaderPerform generic (not related to any domain) init operations.- Specified by:
loadin interfaceSyncopeCoreLoader
-
getClassNames
- Specified by:
getClassNamesin interfaceImplementationLookup
-
getReportClass
public Class<? extends ReportJobDelegate> getReportClass(Class<? extends ReportConf> reportConfClass) - Specified by:
getReportClassin interfaceImplementationLookup
-
getAccountRuleClass
public Class<? extends AccountRule> getAccountRuleClass(Class<? extends AccountRuleConf> accountRuleConfClass) - Specified by:
getAccountRuleClassin interfaceImplementationLookup
-
getPasswordRuleClass
public Class<? extends PasswordRule> getPasswordRuleClass(Class<? extends PasswordRuleConf> passwordRuleConfClass) - Specified by:
getPasswordRuleClassin interfaceImplementationLookup
-
getInboundCorrelationRuleClass
public Class<? extends InboundCorrelationRule> getInboundCorrelationRuleClass(Class<? extends InboundCorrelationRuleConf> inboundCorrelationRuleConfClass) - Specified by:
getInboundCorrelationRuleClassin interfaceImplementationLookup
-
getPushCorrelationRuleClass
public Class<? extends PushCorrelationRule> getPushCorrelationRuleClass(Class<? extends PushCorrelationRuleConf> correlationRuleConfClass) - Specified by:
getPushCorrelationRuleClassin interfaceImplementationLookup
-