@Override public void afterPropertiesSet() throws Exception { PropertyCheck.mandatory(this, "services", services); }
/** * Perform basic checks to ensure that the necessary dependencies were injected. */ protected void checkProperties() { PropertyCheck.mandatory(this, "activitiesFeedModelBuilderFactory", activitiesFeedModelBuilderFactory); PropertyCheck.mandatory(this, "activityService", activityService); PropertyCheck.mandatory(this, "nodeService", nodeService); PropertyCheck.mandatory(this, "namespaceService", namespaceService); PropertyCheck.mandatory(this, "siteService", siteService); }
/** * Perform basic checks to ensure that the necessary dependencies were injected. */ private void checkProperties() { PropertyCheck.mandatory(this, "listeners", listeners); }
public void afterPropertiesSet() throws Exception { PropertyCheck.mandatory(this, "poster", poster); PropertyCheck.mandatory(this, "siteService", siteService); PropertyCheck.mandatory(this, "tenantService", tenantService); PropertyCheck.mandatory(this, "nodeService", nodeService); PropertyCheck.mandatory(this, "fileFolderService", fileFolderService); }
@Override public void afterPropertiesSet() throws Exception { PropertyCheck.mandatory(this, "authorityBridgeDAO", authorityBridgeDAO); PropertyCheck.mandatory(this, "retryingTransactionHelper", retryingTransactionHelper); PropertyCheck.mandatory(this, "authorityDAO", authorityDAO); super.afterPropertiesSet(); } }
public void init() { PropertyCheck.mandatory(this, "diskInterface", diskInterface); PropertyCheck.mandatory(this, "ruleEvaluator", getRuleEvaluator()); PropertyCheck.mandatory(this, "repositoryDiskInterface", getRepositoryDiskInterface()); PropertyCheck.mandatory(this, "commandExecutor", getCommandExecutor()); }
@Override public void afterPropertiesSet() throws Exception { super.afterPropertiesSet(); PropertyCheck.mandatory(this, "nodeService", nodeService); }
/** * Sets the Alfresco store name. * * @param storeRef * the Alfresco store name */ public void setStore(String storeRef) { PropertyCheck.mandatory(this, "store", storeRef); this.store = new StoreRef(storeRef); }
@Override protected void init() { PropertyCheck.mandatory(this, "selectors", selectors); // Get the base class to set up its mappings super.init(); }
@Override public void afterPropertiesSet() throws Exception { PropertyCheck.mandatory(this, "tenantService", tenantService); super.afterPropertiesSet(); } }
/** * Register with the homeFolderManagewr */ public void afterPropertiesSet() throws Exception { PropertyCheck.mandatory(this, "homeFolderManager", homeFolderManager); homeFolderManager.addProvider(v2Adaptor); }
public void init() { PropertyCheck.mandatory(this, "policyComponent", policyComponent); this.policyComponent.bindClassBehaviour(QName.createQName(NamespaceService.ALFRESCO_URI, "getCopyCallback"), ActionModel.TYPE_ACTION_PARAMETER, new JavaBehaviour(this, "getCopyCallback")); this.policyComponent.bindClassBehaviour(QName.createQName(NamespaceService.ALFRESCO_URI, "onCopyComplete"), ActionModel.TYPE_ACTION_PARAMETER, new JavaBehaviour(this, "onCopyComplete")); }