java bean attribute verification framework valid

Project introduction Parameter verification is a very common requirement in java development. But there are still some problems in the use of hibernate-validator. Characteristic Support for fluent-validation Support jsr-303 annotation Support i18n Supporting user-defined policies Support user-defined annotations Open source address valid Crea ...

Posted on Sun, 13 Oct 2019 04:08:18 -0700 by Paul Moran

Class method, static method, reflection, magic method, singleton mode

Catalog classmethod staticmethod instance issubclass reflex hasatter getatter setatter delatter Magic method Singleton mode What is singleton Why use singletons classmethod classmethod is a decorator that decorates ...

Posted on Sun, 13 Oct 2019 03:45:21 -0700 by edwinlcy

22. Closure and Inheritance

This article is reproduced in: Professional front-end website 22. Closure and Inheritance == Closures and object-oriented are the focus of interviews.== 1. closure 1. What is a closure function? A function nested in a function is called a closure function. Internal functions can always access the parameters and variables declared in thei ...

Posted on Sat, 12 Oct 2019 17:54:52 -0700 by squalls_dreams

C # Features and Index (C # Learning Notes 06)

Characteristic Attribute is a declarative tag used to transfer behavior information of various elements in a program (such as classes, methods, structures, enumerations, components, etc.) at runtime. Features can be viewed as a special class Enumeration Characteristic Grammar: [attribute(positional_parameters, name_parameter = value, ...)] ...

Posted on Sat, 12 Oct 2019 13:30:03 -0700 by gmdavis

Learning Notes - Day 17 18 (Reflection)

reflex What is Reflection Learning reflex: Reflection is the behavior of the runtime Class Class: An instance object generated by this class is used to describe a class. The class object describes the Student class. All Student objects and Student classes share the current class object Examp ...

Posted on Sat, 12 Oct 2019 11:40:56 -0700 by daveoffy

net core WebApi dapper Autofac dependency injection front-end Vue front-end part

The front-end part is relatively simple, that is, the general configuration and installation of Vue No Vue. You can check it. You need to install node.js.   1. After installing vue environment. Installing elementui and axios also has its own checks on the Internet. Create a new User.vue in your ...

Posted on Sat, 12 Oct 2019 08:49:00 -0700 by siko

Apache-Shiro Custom Realm Reality

Introduction to custom Realm In general, custom Realm inherits AuthorizingRealm. Inheritance of Realm: Authorizing Realm - > Authenticating Realm - > Caching Realm - > Realm. step Create a class that inherits AuthorizingRealm. Rewrite the authorization method doGetAuthorization Info. Rewrite the authentication method doGetAuthen ...

Posted on Sat, 12 Oct 2019 08:27:42 -0700 by mysqlnewjack

Objects and wrapper classes

1. Object creation method  // 1.var MrDeng = {} plainObject object literal quantity / object direct quantity             var MrDeng = {                 // attribute                 name : "MrDeng",                 age    : 40,                 sex : "male",                 health : 100,               ...

Posted on Sat, 12 Oct 2019 08:24:24 -0700 by mosizlak

Combination, Packaging, Polymorphism

Catalog combination What is combination? Why use combinations How to use combination Combination exercises encapsulation What is encapsulation Why to encapsulate How to encapsulate Access Restriction Mechanism What is access restriction mechanism ...

Posted on Fri, 11 Oct 2019 06:56:36 -0700 by doforumda

2. Resolution Default Label of Spring Source Analysis 2

1. Resolving default labels parseDefaultElement(ele, delegate); void parseDefaultElement(Element ele, BeanDefinitionParserDelegate delegate) { //Parsing import Tags if (delegate.nodeNameEquals(ele, IMPORT_ELEMENT)) { importBeanDefinitionResource(ele); } //Parsing alias Tags else if (delegate.nodeNameEquals(ele, ALIAS_ELEME ...

Posted on Thu, 10 Oct 2019 12:40:09 -0700 by dflow