{"id":8694,"date":"2025-01-05T12:45:11","date_gmt":"2025-01-05T09:45:11","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/"},"modified":"2025-01-05T12:45:11","modified_gmt":"2025-01-05T09:45:11","slug":"spring-bootta-preconstruct-ve-postconstruct-anotasyonlari","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/","title":{"rendered":"Spring Boot&#8217;ta @PreConstruct ve @PostConstruct Anotasyonlar\u0131"},"content":{"rendered":"<p><body><\/p>\n<p>Spring Boot&#8217;ta @PreConstruct ve @PostConstruct Anotasyonlar\u0131<\/p>\n<p>Spring Boot, Java tabanl\u0131 uygulamalar geli\u015ftirmek i\u00e7in pop\u00fcler bir framework&#8217;t\u00fcr.  Bu framework&#8217;\u00fcn sundu\u011fu g\u00fc\u00e7l\u00fc \u00f6zellikler aras\u0131nda, bean&#8217;lerin ya\u015fam d\u00f6ng\u00fcs\u00fcn\u00fc y\u00f6netmek i\u00e7in kullan\u0131lan anotasyonlar yer al\u0131r.  Bu anotasyonlardan ikisi, \u00f6zellikle nesne ba\u015flatma ve sonland\u0131rma i\u015flemlerinde olduk\u00e7a kullan\u0131\u015fl\u0131d\u0131r: <code>@PreConstruct<\/code> ve <code>@PostConstruct<\/code>.<\/p>\n<p>\u00d6ncelikle,  bu anotasyonlar\u0131n ne i\u015fe yarad\u0131\u011f\u0131n\u0131 ve nas\u0131l kullan\u0131ld\u0131\u011f\u0131n\u0131 anlamak \u00f6nemlidir. <code>@PostConstruct<\/code> anotasyonunu kullanarak bir bean olu\u015fturulduktan sonra, ba\u011f\u0131ml\u0131l\u0131k enjeksiyonu i\u015flemlerinden sonra,  ba\u015flatma i\u015flemlerini ger\u00e7ekle\u015ftirebiliriz.  Ba\u015fka bir deyi\u015fle,  bean&#8217;iniz tamamen olu\u015fturulduktan ve Spring taraf\u0131ndan haz\u0131rland\u0131ktan sonra  \u00e7al\u0131\u015ft\u0131r\u0131lmas\u0131n\u0131 istedi\u011finiz kod par\u00e7alar\u0131n\u0131 bu anotasyona yerle\u015ftirebilirsiniz.  \u00d6rne\u011fin, veritaban\u0131 ba\u011flant\u0131s\u0131 kurmak, dosya okuma i\u015flemleri yapmak veya di\u011fer  ba\u015flang\u0131\u00e7 i\u015flemlerini burada ger\u00e7ekle\u015ftirebilirsiniz. <\/p>\n<p>Peki ya <code>@PreConstruct<\/code>?  Bu anotasyon,  <code>@PostConstruct<\/code>&#8216;un tam tersidir.  Bean&#8217;in yok edilmeden hemen \u00f6nce, sonland\u0131rma i\u015flemleri i\u00e7in kullan\u0131l\u0131r.  \u00d6rne\u011fin, a\u00e7\u0131k kaynaklar\u0131 kapatmak veya temizleme i\u015flemleri yapmak i\u00e7in bu anotasyonu kullanabilirsiniz.  Bu sayede, uygulaman\u0131z\u0131n d\u00fczg\u00fcn bir \u015fekilde kapanmas\u0131n\u0131 ve kaynak s\u0131z\u0131nt\u0131lar\u0131n\u0131n \u00f6n\u00fcne ge\u00e7ilmesini sa\u011flayabilirsiniz.<\/p>\n<h2>\u00d6rnek Uygulama<\/h2>\n<p>\u015eimdi,  bu anotasyonlar\u0131n nas\u0131l kullan\u0131laca\u011f\u0131n\u0131 g\u00f6steren basit bir Spring Boot \u00f6rne\u011fi inceleyelim.  A\u015fa\u011f\u0131daki kodda,  bir <code>MyBean<\/code> s\u0131n\u0131f\u0131 tan\u0131ml\u0131yoruz ve bu s\u0131n\u0131fa <code>@PostConstruct<\/code> ve <code>@PreConstruct<\/code> anotasyonlar\u0131n\u0131 ekliyoruz.<\/p>\n<pre><code class=\"language-java\">\n@Component\npublic class MyBean {\n\n    @PostConstruct\n    public void init() {\n        System.out.println(\"Bean ba\u015flat\u0131l\u0131yor...\");\n        \/\/ Ba\u015flatma i\u015flemleri burada ger\u00e7ekle\u015ftirilir.\n    }\n\n    @PreDestroy\n    public void destroy() {\n        System.out.println(\"Bean sonland\u0131r\u0131l\u0131yor...\");\n        \/\/ Sonland\u0131rma i\u015flemleri burada ger\u00e7ekle\u015ftirilir.\n    }\n\n    \/\/ Di\u011fer metotlar...\n}\n<\/code><\/pre>\n<p>Bu \u00f6rnekte, <code>init()<\/code> metodu <code>@PostConstruct<\/code> ile, <code>destroy()<\/code> metodu ise <code>@PreDestroy<\/code> ile i\u015faretlenmi\u015ftir.  Uygulama \u00e7al\u0131\u015ft\u0131\u011f\u0131nda, Spring, <code>MyBean<\/code>&#8216;i olu\u015fturduktan sonra <code>init()<\/code> metodunu,  uygulama kapat\u0131ld\u0131\u011f\u0131nda ise <code>destroy()<\/code> metodunu otomatik olarak \u00e7al\u0131\u015ft\u0131racakt\u0131r. Bu sayede,  bean&#8217;in ya\u015fam d\u00f6ng\u00fcs\u00fcn\u00fc kontrol edebilir ve gerekli i\u015flemleri ger\u00e7ekle\u015ftirebiliriz.<\/p>\n<h2>Dikkat Edilmesi Gereken Noktalar<\/h2>\n<p>Bu anotasyonlar\u0131 kullan\u0131rken baz\u0131 noktalara dikkat etmek \u00f6nemlidir.  \u00d6rne\u011fin,  <code>@PostConstruct<\/code> ve <code>@PreDestroy<\/code> metodlar\u0131n\u0131n eri\u015fim belirleyicisinin  <code>public<\/code> olmas\u0131 gerekmektedir. Ayr\u0131ca,  bu metodlar parametresiz olmal\u0131d\u0131r.<\/p>\n<p>Ayr\u0131ca,  bu anotasyonlar \u00f6zellikle b\u00fcy\u00fck ve karma\u015f\u0131k uygulamalar i\u00e7in olduk\u00e7a faydal\u0131d\u0131r.  Uygulaman\u0131z\u0131n farkl\u0131 b\u00f6l\u00fcmlerinin ba\u015flatma ve sonland\u0131rma i\u015flemlerini d\u00fczenli bir \u015fekilde y\u00f6netmenizi sa\u011flar.  Bu sayede,  uygulaman\u0131z\u0131n daha g\u00fcvenilir ve  bak\u0131m\u0131 daha kolay hale gelir. <\/p>\n<p>Daha fazla bilgi i\u00e7in  <a href=\"https:\/\/fatihsoysal.com\">fatihsoysal.com<\/a> adresini ziyaret edebilirsiniz.  Ayr\u0131ca,  konu ile ilgili daha detayl\u0131 bilgi i\u00e7in <a href=\"https:\/\/dev.to\/realnamehidden1_61\/preconstruct-and-postconstruct-annotation-spring-boot-example-4a66\">bu kayna\u011fa<\/a> da g\u00f6z atabilirsiniz.<\/p>\n<h3>#Etiketler<\/h3>\n<p>Spring Boot, @PostConstruct, @PreConstruct, Anotasyon, Java, Bean Ya\u015fam D\u00f6ng\u00fcs\u00fc, Ba\u011f\u0131ml\u0131l\u0131k Y\u00f6netimi, Spring Framework<\/p>\n<p><\/body><br \/>\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"Spring Boot&#8217;ta @PreConstruct ve @PostConstruct Anotasyonlar\u0131 Spring Boot, Java tabanl\u0131 uygulamalar geli\u015ftirmek i\u00e7in pop\u00fcler bir framework&#8217;t\u00fcr. Bu framework&#8217;\u00fcn&hellip;","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_page_header_type":"","csco_page_load_nextpost":"","csco_page_subscribe_form":"","csco_page_contact_form":"","footnotes":""},"categories":[1],"tags":[],"class_list":{"0":"post-8694","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-genel","7":"cs-entry","8":"cs-video-wrap"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.5 (Yoast SEO v25.3.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Spring Boot&#039;ta @PreConstruct ve @PostConstruct Anotasyonlar\u0131<\/title>\n<meta name=\"description\" content=\"Spring Boot, Java tabanl\u0131 uygulamalar geli\u015ftirmek i\u00e7in pop\u00fcler bir framework&#039;t\u00fcr. Bu framework&#039;\u00fcn sundu\u011fu g\u00fc\u00e7l\u00fc \u00f6zellikler aras\u0131nda, bean&#039;lerin ya\u015fam d\u00f6ng\u00fcs\u00fcn\u00fc y\u00f6netmek i\u00e7in kullan\u0131lan anotasyonlar yer al\u0131r. Bu anotasyonlardan ikisi, \u00f6zellikle nesne ba\u015flatma ve sonland\u0131rma i\u015flemlerinde olduk\u00e7a kullan\u0131\u015fl\u0131d\u0131r: @PreConstruct ve @PostConstruct.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Spring Boot&#039;ta @PreConstruct ve @PostConstruct Anotasyonlar\u0131\" \/>\n<meta property=\"og:description\" content=\"Spring Boot, Java tabanl\u0131 uygulamalar geli\u015ftirmek i\u00e7in pop\u00fcler bir framework&#039;t\u00fcr. Bu framework&#039;\u00fcn sundu\u011fu g\u00fc\u00e7l\u00fc \u00f6zellikler aras\u0131nda, bean&#039;lerin ya\u015fam d\u00f6ng\u00fcs\u00fcn\u00fc y\u00f6netmek i\u00e7in kullan\u0131lan anotasyonlar yer al\u0131r. Bu anotasyonlardan ikisi, \u00f6zellikle nesne ba\u015flatma ve sonland\u0131rma i\u015flemlerinde olduk\u00e7a kullan\u0131\u015fl\u0131d\u0131r: @PreConstruct ve @PostConstruct.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2025-01-05T09:45:11+00:00\" \/>\n<meta name=\"author\" content=\"Fatih Soysal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fatih Soysal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"Spring Boot&#8217;ta @PreConstruct ve @PostConstruct Anotasyonlar\u0131\",\"datePublished\":\"2025-01-05T09:45:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/\"},\"wordCount\":462,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/\",\"name\":\"Spring Boot'ta @PreConstruct ve @PostConstruct Anotasyonlar\u0131\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2025-01-05T09:45:11+00:00\",\"description\":\"Spring Boot, Java tabanl\u0131 uygulamalar geli\u015ftirmek i\u00e7in pop\u00fcler bir framework't\u00fcr. Bu framework'\u00fcn sundu\u011fu g\u00fc\u00e7l\u00fc \u00f6zellikler aras\u0131nda, bean'lerin ya\u015fam d\u00f6ng\u00fcs\u00fcn\u00fc y\u00f6netmek i\u00e7in kullan\u0131lan anotasyonlar yer al\u0131r. Bu anotasyonlardan ikisi, \u00f6zellikle nesne ba\u015flatma ve sonland\u0131rma i\u015flemlerinde olduk\u00e7a kullan\u0131\u015fl\u0131d\u0131r: @PreConstruct ve @PostConstruct.\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Spring Boot&#8217;ta @PreConstruct ve @PostConstruct Anotasyonlar\u0131\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/\",\"name\":\"Fatihsoysal.com\",\"description\":\"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim\",\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"tr\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\",\"name\":\"Fatih Soysal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"contentUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"width\":512,\"height\":512,\"caption\":\"Fatih Soysal\"},\"logo\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Spring Boot'ta @PreConstruct ve @PostConstruct Anotasyonlar\u0131","description":"Spring Boot, Java tabanl\u0131 uygulamalar geli\u015ftirmek i\u00e7in pop\u00fcler bir framework't\u00fcr. Bu framework'\u00fcn sundu\u011fu g\u00fc\u00e7l\u00fc \u00f6zellikler aras\u0131nda, bean'lerin ya\u015fam d\u00f6ng\u00fcs\u00fcn\u00fc y\u00f6netmek i\u00e7in kullan\u0131lan anotasyonlar yer al\u0131r. Bu anotasyonlardan ikisi, \u00f6zellikle nesne ba\u015flatma ve sonland\u0131rma i\u015flemlerinde olduk\u00e7a kullan\u0131\u015fl\u0131d\u0131r: @PreConstruct ve @PostConstruct.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/","og_locale":"tr_TR","og_type":"article","og_title":"Spring Boot'ta @PreConstruct ve @PostConstruct Anotasyonlar\u0131","og_description":"Spring Boot, Java tabanl\u0131 uygulamalar geli\u015ftirmek i\u00e7in pop\u00fcler bir framework't\u00fcr. Bu framework'\u00fcn sundu\u011fu g\u00fc\u00e7l\u00fc \u00f6zellikler aras\u0131nda, bean'lerin ya\u015fam d\u00f6ng\u00fcs\u00fcn\u00fc y\u00f6netmek i\u00e7in kullan\u0131lan anotasyonlar yer al\u0131r. Bu anotasyonlardan ikisi, \u00f6zellikle nesne ba\u015flatma ve sonland\u0131rma i\u015flemlerinde olduk\u00e7a kullan\u0131\u015fl\u0131d\u0131r: @PreConstruct ve @PostConstruct.","og_url":"https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2025-01-05T09:45:11+00:00","author":"Fatih Soysal","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Fatih Soysal","Tahmini okuma s\u00fcresi":"3 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"Spring Boot&#8217;ta @PreConstruct ve @PostConstruct Anotasyonlar\u0131","datePublished":"2025-01-05T09:45:11+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/"},"wordCount":462,"commentCount":0,"publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"inLanguage":"tr","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/","url":"https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/","name":"Spring Boot'ta @PreConstruct ve @PostConstruct Anotasyonlar\u0131","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2025-01-05T09:45:11+00:00","description":"Spring Boot, Java tabanl\u0131 uygulamalar geli\u015ftirmek i\u00e7in pop\u00fcler bir framework't\u00fcr. Bu framework'\u00fcn sundu\u011fu g\u00fc\u00e7l\u00fc \u00f6zellikler aras\u0131nda, bean'lerin ya\u015fam d\u00f6ng\u00fcs\u00fcn\u00fc y\u00f6netmek i\u00e7in kullan\u0131lan anotasyonlar yer al\u0131r. Bu anotasyonlardan ikisi, \u00f6zellikle nesne ba\u015flatma ve sonland\u0131rma i\u015flemlerinde olduk\u00e7a kullan\u0131\u015fl\u0131d\u0131r: @PreConstruct ve @PostConstruct.","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/spring-bootta-preconstruct-ve-postconstruct-anotasyonlari\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Spring Boot&#8217;ta @PreConstruct ve @PostConstruct Anotasyonlar\u0131"}]},{"@type":"WebSite","@id":"https:\/\/fatihsoysal.com\/blog\/#website","url":"https:\/\/fatihsoysal.com\/blog\/","name":"Fatihsoysal.com","description":"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim","publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"tr"},{"@type":["Person","Organization"],"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1","name":"Fatih Soysal","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","contentUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","width":512,"height":512,"caption":"Fatih Soysal"},"logo":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/"},"description":"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.","url":"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/"}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/8694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/comments?post=8694"}],"version-history":[{"count":0,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/8694\/revisions"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=8694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=8694"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=8694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}