This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#spring-beans | |
customerImpl: | |
class: com.example.yamlbeanExample.Customer | |
properties: | |
firstName: Rohit | |
lastName: jain | |
phone: 203428304230 | |
address: ref::addressImpl | |
addressImpl: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans | |
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> | |
<bean id="customerImpl" class="com.example.yamlbeanExample.Customer"> | |
<property name="firstName"> | |
<value>Rohit</value> | |
</property> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.nik; | |
import com.github.ffpojo.FFPojoHelper; | |
import com.github.ffpojo.exception.FFPojoException; | |
import java.io.*; | |
import java.util.ArrayList; | |
import java.util.List; | |
public class Main { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//example | |
// in .properties file | |
test.scheduling.mytask = 0 0 0 1 1/2 ? | |
//or | |
test.scheduling.mytask = 0 0/5 * 1/1 * ? | |
//or | |
test.scheduling.mytask = 0 0/2 * 1/1 * ? | |
//or | |
test.scheduling.mytask = 0 0 0/1 1/1 * ? |