Menu

Aadhaar Act 2016 | Aadhar act section 7

Subject:

 Notification for the use of the Aadhar under the section 7 of the Aadhaar (targeted delivery of the financial and the other subsidies, benefits and the services) Act, 2016 for targeted delivery of financial and other subsidies, benefit and services funded from there from the consolidated fund of India.

1. The use of Aadhaar is identifier to delivery of the services, benefits and subsidies simplify the Government delivery progresses, bring in good governance, transparency and efficiency, and enables beneficiaries to get their entitlements directly to them in a convenient and the hassle free manner. Aadhar obviated the need for producing the multiple documents to provide the identity, etc.


2. The provision of the Other night has come into effect from 12th of September 2016 and notifications to this effect has been published into the official Gazette. To give effect to the provision of the act, UIDAI has approved the regulation under the Aadhaar act which too have been notified in the official gazette. The copy of the act, rule and regulations made there under are available at the UIDAI website.


3. Section 7 of the act provides:


 The Central Government or, as the case may be, the State Government may, for the purpose of establishing identity of an individual as a condition for receipt of a subsidy, benefit or service for which the expenditure is incurred from, or the receipt therefrom forms part of, the Consolidated Fund of India, require that such individual undergo authentication, or furnish proof of possession of Aadhaar number or in the case of an individual to whom no Aadhaar number has been assigned, such individual makes an application for enrolment: Provided that if an Aadhaar number is not assigned to an individual, the individual shall be offered alternate and viable means of identification for delivery of the subsidy, benefit or service.


4. Further, regulation 12 of the Aadhaar enrollment in the update regulations 2016 provides
Any central or state department or agency which requires an individuals to undergo the authentication or furnish proof of possession of the Aadhaar number as a conditions for receipt of any subsidy, benefit or services pursuant to section 7 of the Aadhaar Act, shall ensure enrollment of its beneficiaries who are yet to be enrolled, through the appropriate measure including coordination with registrars and setting up enrollment centers at convenient location for providing enrollment facilities by becoming a  registrar itself.


5. Therefore Central Ministries and state governments which plan to use the Aadhaar for the delivery of the services, benefits and the subsidies funded from the consolidated fund of India are required to issue a notification under the section 7 of the act. Section 7 of the act read with regulations 12 of the Aadhaar enrollment and update regulations 2016 is required at the notifications must include all of the following three points:

5.1 The notification cell mention the service, benefits or subsidies funded from the consolidated fund of India, which will require as a conditions precedent a beneficiary applications to undergo the Aadhaar authentication or furnish proof of position of Aadhaar number.
5.2 This notifications shall mention that in case of the applicant does not have the Aadhaar number, he will be required to make an applications for the Aadhar enrollment, if he is entitled to obtain one under the section 3 of the act and the arrangement made by the concerned central ministers or state governments as the case may be to provide the Aadhar enrollment facilities to him. Regulation 12 of the said regulations cast the responsibility of the ministers and their state governments or agencies under their control to facilitate and provider enrollment facilities at convenient location. In case there are no existing enrollment facility nearby, they are required to become UIDAI Registrar so that they can set up enrollment facilities themselves.
UIDAI has already empowered the several Central ministries and state departments or agencies under their jurisdictions to become its registrar and the undertake enrollment of their beneficiaries who are not enrolled for the Aadhaar. UIDAI I will continue to provide all technical as well as financial assistance for Aadhaar generation @ rupees 40 per Aadhaar and @ rupees 27 per Aadhaar generated for the children of the age less than 5 years through tablets computers. In case any ministry, state government department or agency under its control want to become the registrar, is may do so immediately by applying under the regulation 21 of the said the regulations and contact the regional offices of the UIDAI for this purpose.
5.3 The notifications and list the alternate identity documents and the verification methodologies to confirm the Identity of the beneficiary applicant to whom Aadhaar number has not been assigned for delivery of benefits, subsidies, or services, till such time Aadhaar number is assigned.



References:

Cannot make a static reference to the non-static method

Cannot make a static reference to the non-static method display(String) from the type RunAndTest.
We cannot access or call a non static method or variable from a static method or main method(which is also a static method) of a class. Since non-static method and variables belongs to the instance of the class and we call them instance variable and method, but static method and variable are directly belongs to class which we called member variable and method.
We can access a non-static variable and method in static method only using the instance of the class. But if you want to access any non-static variable and method in non-static method of the same class then we can access them without instance of the class.


Why we can not access? 

As soon as our program loaded into memory at the same time all static variable, method and block get loaded in the memory as well, and JVM will maintain only single copy of those static thing through all over the class. And all non-static components will get loaded into the memory when we create instance of that class that why we called them instance variable/method, and when you create another instance of that class then a new and separate memory will be get allocated for all those variables and methods for that instance.

In case if you will write a code to access a non-static member in static method without instance of that class then compiler will through the error "Cannot make a static reference to the non-static method".

Below is a code sample which you could just copy and paste in your IDE and understand the concept of this static and non-static.

Compilation fail while accessing a non-static method in static method.


package coreJava;
public class RunAndTest {
public static void main(String[] args) {
display("string"); //This line of code will through compile time error "cannot make a static reference to the non-static method display(String) from the type RunAndTest"
}
void display(RunAndTest rt){
System.out.println("Test");
display("sdj");
}
void display(String string){
System.out.println("String method");
}
}

Access a non-static method in static method, with the help of object of the class.


package coreJava;public class RunAndTest { public static void main(String[] args) { RunAndTest rt=new RunAndTest(); rt.display("string"); 
} void display(RunAndTest rt){ System.out.println("Test"); display("sdj"); } void display(String string){ System.out.println("String method"); }} 

How to set property of a bean from external source file using Spring framework

Today in this tutorial we are going to discuss how to set property of a bean from external source file using Spring framework.

As we already know Spring is a very powerful framework to inject the dependency at get the value at run time in the form of beans. But what happen if we don't have value for those beans in our ApplicationContext.xml file and we need to fetch value from some external file or data source and assign those values to beans. We will see these all in a sample example program.

Files used in this example:


  1. Apple.java
  2. myApp.properties
  3. AppContextRashid.xml
  4. ClassHer.java


First we will create a java POJO calss "Apple.java" in this class we will create two String variables and their getters and setters. Also we will create a method whoareyou() with return type String.
Below is the code:
package rashidtest;
public class Apple  {
String name1, desc1="not yet set";
public String getName1() {
return name1;
}
public void setName1(String name1) {
this.name1 = name1;
}
public String getDesc1() {
return desc1;
}
public void setDesc1(String desc1) {
this.desc1 = desc1;
}
public String whoareyou() {
String result= name1 + desc1;
if(desc1 == null) return name1;
else if(name1 == null) return desc1;
else return result;
}
}

Second we will create a property file which contains the value for name1 and desc1 variables. to do so we will create a file "myApp.properties" in a xmlBeans package in our source directory which have some values. below is the example file.

def-desc=I am a fruit and my color is Red.
def-name=Apple.

Third we will create a xml bean file "AppContextRashid.xml" in which we will to include namespace "xmlns:context="http://www.springframework.org/schema/context" to read the data from external source.

To read the external property or value from file we will provide the location in property placeholder. e.g. <context:property-placeholder location="xmlBeans/myApp.properties"/> 

Then in Bean property tag we will assign values from file to POJO class variables. To get the value from properties file we will write "${name of the property}". 
e.g. <property name="desc1" value="${def-desc}"></property> 
In the above statement we are fetching value for property "def-desc" from .property file and assigning its value to "desc1" variable in Apple class.

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.3.xsd">
<context:property-placeholder location="xmlBeans/myApp.properties"/> 
<bean id="apple" class="rashidtest.Apple">
<property name="desc1" value="${def-desc}"></property>
<property name="name1" value="${def-name}"></property>
</bean>
</beans>

Fourth and final we will create a implementer class which have main method, instance of ApplicationContext and inject the value from bean to class using setter injection. to achieve this we will create a java file "ClassHer.java". Below is the complete class.

package rashidtest;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class ClassHer {
public static void main(String[] args) {
ApplicationContext appContext=new ClassPathXmlApplicationContext("rashidtest/AppContextRashid.xml");
Apple apple=appContext.getBean("apple", Apple.class);
System.out.println("Apple class have property: " +apple.whoareyou());
}
}