<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic singleton class in OO ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/singleton-class-in-oo-abap/m-p/10588093#M1860810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain about singleton class&amp;nbsp; and when we will use singleton class in OO ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Hemasagar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Oct 2014 14:59:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-10-06T14:59:02Z</dc:date>
    <item>
      <title>singleton class in OO ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/singleton-class-in-oo-abap/m-p/10588093#M1860810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain about singleton class&amp;nbsp; and when we will use singleton class in OO ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Hemasagar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 14:59:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/singleton-class-in-oo-abap/m-p/10588093#M1860810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-06T14:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: singleton class in OO ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/singleton-class-in-oo-abap/m-p/10588094#M1860811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;Often, there is a requirement that you would want to create only one instance of the class. To put it in other words, you do not want any one to create instance of the class if already created.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.scn.sap.com/wiki/display/ABAP/SINGLETON+CLASSES"&gt;http://wiki.scn.sap.com/wiki/display/ABAP/SINGLETON+CLASSES&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 15:27:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/singleton-class-in-oo-abap/m-p/10588094#M1860811</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2014-10-06T15:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: singleton class in OO ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/singleton-class-in-oo-abap/m-p/10588095#M1860812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kosuru,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the ABAP Unit Wiki there is a page with some basic explanation of the Singleton pattern.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.scn.sap.com/wiki/display/ABAP/UnitSu.GoF.Singleton+Pattern" title="http://wiki.scn.sap.com/wiki/display/ABAP/UnitSu.GoF.Singleton+Pattern"&gt;UnitSu.GoF.Singleton Pattern - ABAP Development - SCN Wiki&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&amp;nbsp; Klaus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 20:26:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/singleton-class-in-oo-abap/m-p/10588095#M1860812</guid>
      <dc:creator>former_member183804</dc:creator>
      <dc:date>2014-10-07T20:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: singleton class in OO ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/singleton-class-in-oo-abap/m-p/10588096#M1860813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hemasagar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The concept of restricting the instantiation of the a class to one object is called Singleton.&lt;/P&gt;&lt;P&gt;As name suggests, it will restrict to create only one instance of a class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Singleton is OO design Pattern. When you implement this pattern in the class it becomes Singleton Class.The usage of this singleton design pattern is purely based on your requirement. &lt;SPAN style="font-size: 10pt;"&gt;For example in a program if your logic is inside a loop and you are creating the object in a loop. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Here you can make you use of the singleton design pattern to restrict it to create more than one object. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thiru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 06:45:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/singleton-class-in-oo-abap/m-p/10588096#M1860813</guid>
      <dc:creator>thirus11</dc:creator>
      <dc:date>2015-07-16T06:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: singleton class in OO ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/singleton-class-in-oo-abap/m-p/10588097#M1860814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hemasagar Kosuru,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Myriad Pro', 'Pt Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;"&gt;Sometime's we need only one instance for a class at that time, we go for singleton &lt;SPAN style="color: #333333; font-family: 'Myriad Pro', 'Pt Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;"&gt;concept&lt;/SPAN&gt; in ABAP objects.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Myriad Pro', 'Pt Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Myriad Pro', 'Pt Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;"&gt;Thanks and regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Myriad Pro', 'Pt Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;"&gt;B.Umayaraja&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 08:42:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/singleton-class-in-oo-abap/m-p/10588097#M1860814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-16T08:42:10Z</dc:date>
    </item>
  </channel>
</rss>

