The Thread instance life-cycle

Hi, I am puzzled about the Thread instace life-cycle in my code:
public class LinkPool{
    public void initial(int size)
        while(...)
             Thread link = new Thread(runnableImp);
             link.start();
             linkVector.add(runnableImp);
}when out of the method initial(), who hold the Thread instance reference? If there is no, will the GC terminate the instance?

The VM holds it. You don't have to hold onto it. It won't be GCed before it's done executing.

Similar Messages

  • Card is in the GlobalPlatform card life cycle OP_READY ,the READ command?

    I have alreay finshed the pre-personalization procedure,but I do the READ command:
    /send C0B0036EFF
    => C0 B0 03 6E FF ...n.
    (35167 usec)
    <= 6E 00 n.
    Status: CLA value not supported
    what error?
    And what can I do?
    I learn the card at the first time

    What READ command are you trying to execute? Is this something you expect the card manager to respond to or a specific applet on the card? Can you provide the full APDU trace of the session?
    Shane

  • Accounting entries for OTC life cycle

    Hi Guys,
    I was wondering if anyone of u can explain me the complete accounting entries that get credited and debited....right from booking an order till reconcilation (the whole OTC life cycle).
    Thanks & Regards,
    Ravi.

    All looks good but there can be exceptions if you introduce two variables:
    1. Invoicing Rules and Acconting Rules. These will affect your accouting in AR (Invoicing Rule will affect your Receivables and Accounting rule will affect the revenue accounting).
    2. If you are on R12, there is Customer acceptance process that will change the accounting on both COGS and Revenue accounting a little bit but the final entry remains the same as you mentioned.
    Forgot to mention: In someones blog on in Metalink's section where customer's documents are uploaded in knowledge base, I found a decent document that can help you with some more information.
    Thanks
    Nagamohan
    Edited by: Nagamohan on Oct 2, 2008 6:11 PM

  • Want report to display Sales Life Cycle for Particular Sales Area

    Hi all,
    What are the select-options,parameters and tables for the report sales life cycle for a particular sales area and if possible send me the code for the same.
    Thanks in advance
    Santosh R

    Hi Sandy,
    You would probably be better to post this in Crystal Reports Design forum category.
    You could add a unjion into the data source so that it always returns a dummy row for each category.
    Regards
    Alan

  • MM process life Cycle

    Hi
    Can anyone provide me with the MM process life cycle . please forward me the documents on [email protected]
    Thanks and Regards
    Naval

    Hi Kishore,
    Are you working with prospecta software...are u working for australia client...how z u r colleques Hari and all....The following are MM life cycles...
    Purchase requisition
    request for quotation
    quoatation
    purchase order
    Goods receipt
    Invoice verification.....
    hope its enough...
    regards
    Dinesh. A

  • Life cycle and desing patterns

    Hi Friends,
    I am new to SAP BI/BW and learned extract and Reports
    Now i am getting some doubts like what sdlc and design patterns are used to SAP BI/BW
    Please could you suggest , whether we are have to use in BI/BW
    thanks
    Babu

    Hi Babu,
    SAP BI/BW project also has got the standard project life cycle steps. Whenever you are working on a SAP BI/BW implementation project it starts from
    Requirement Gathering -
    > Blueprinting -
    > High level and detailed design -
    > Implementation -
    > Unit Testing -
    > Integration Testing -
    > Go live.
    Regards,
    Durgesh.

  • BW project life cycle document

    Dear BW experts,
    Couple of days back I had finished SAP BW course and now reading BW documents. I would appreciate if some one could send the BW project life cycle document. Could any one send the responsibilities of BW technical consultant and I think it would differ in (Implementation and maintenance project). My id is [email protected]
    Regards,
    Bhaskar

    Hi Gula,
    Hope you would be interested to know on ASAP methodology!Go through : http://www.sapfans.com/sapfans/repos/sapfile.pdf
    Regards,
    Happy Tony

  • Difference between life cycle manager and import wizard

    Can any one tell me about life cycle manger. To my knowledge we use import wizard to move the data from from one environment to other. then what is the purpose of life cycle manager.
    weather we need to install on the boe xi 3.1 server(solaris server) or do i need to install on the client machine. do we need separate licence to get this are is it free.

    LCM enables you to store several versions of the same BOBJ object (eg reports). This is very helpful for development projects eg. if your testing phase fails you can rollback to an older version of your reports.
    Regarding the license you have to ask your local SAP sales representative. I know that the license is normally bundled in BO license packages but only SAP sales can provide an official statement about this.
    My personal recommendation: If you want to move a limited number of objects on-demand and fast then use the Import WIzard. Otherwise use the LCM.
    Regards,
    Stratos

  • Jsf 1s phase of life cycle how knows ths components of the jsp with jsf tag

    i wish to know how faces servlet knows the jsp s view components while creaTI NG component tree at first request to input jsp which may have jsf tags.in the first phase faces servlet doesnot know input jsp with jsf tags what componnets it has. it is actually atthe response send or forward time which is the final phase when the tag ge executed and output is sent to client.i did understandin jsf life cycle in 1 st phase component tree is created at first request in 1 st phase .

    Hi,
    though a FacesContext holds the values used by a request, it doesn't mean it lives for as long as the request. The best explanation I found is from the JavaDocs
    release
    public abstract void release()
    +Release any resources associated with this FacesContext instance. Faces implementations may choose to pool instances in the associated FacesContextFactory to avoid repeated object creation and garbage collection. After release() is called on a FacesContext instance (until the FacesContext instance has been recycled by the implementation for re-use), calling any other methods will cause an IllegalStateException to be thrown.+
    The implementation must call setCurrentInstance(javax.faces.context.FacesContext) passing null to remove the association between this thread and this dead FacesContext instance.
    Throws:
    java.lang.IllegalStateException - if this method is called after this instance has been released
    Frank

  • What method is called only once in the life cycle?

    Hello,
    What method is called only once in the life cycle of an Entity Bean and Session Bean?
    Is it ejbRemove()?
    Thanks

    hi,
    ejbCreate() and setSessionContext() are called once by the container after the bean instace is created.when the bean instance goes to pool and again return to ready state to handle client requests these methods r never called .only bussiness methods r called.this is in case of stateless session bean.
    in case of stateful session bean, each bean instance is associated with client.so,when new client requests, new bean instance is created and above 2 methods are called. no pool terminology in case of stateful session bean.
    ejbRemove() is called by the container when it is abt to remove bean instance,so it its obvious tht it is called only once.

  • Sequence of Elements in the JSP Life Cycle

    How do I place several elements such as
    Create Instance
    Page translation
    JSP compilation
    Load class
    in the JSP life cycle
    Call jspInit
    Call _jspService
    Call jspDestroy

    See if http://java.sun.com/j2ee/tutorial/doc/JSPIntro4.html#62582 if this is what you wanted to know.

  • What is the average duration of 1 full SAP life cycle or 1 end-to-end implementation. How long does it take to prepare DEV, QAS and PRD?

    What is the average duration of 1 full SAP life cycle or 1 end-to-end implementation. How long does it take to prepare DEV, QAS and PRD in any company?

    Anand,
    let me start with saying that the question you ask may not help you to determine the duration of your project. As Ryan and others stated the duration of the project is highly dependent on the scope of the solution you are implementing, geographical scope, amount of modifications/enhancements, number of languages, number of users that need to be trained, amount of standard processes customer is able to re-use in the implementation and many other factors (like quality of implementation contractor you will chose and availability of customer and implementors resources). I can probably go on for another couple lines, but I guess you get the idea.
    With that out of the way let's talk about some example implementations that will give you an idea - Ryan did great job outlining what I would call traditional approach above. I have couple examples where customers leveraged innovative deployment strategies that are available today. In particular the project teams leveraged pre-packaged services like RDS, World Template or Best Practices as their baseline solution and they built from there. Second acceleration technique customers now leverage is the deployment in the SAP HANA Enterprise Cloud to accelerate the time to initial setup of the system and thus move from traditional blueprinting to scope validation exercise that further shortens the time. There are other acceleration techniques we see applied in some cases like use of iterative implementation of the delta requirements on top of the baseline solution.
    Let me offer few examples to illustrate what I explained above:
    ERP implementation at Schaidt Innovations with 3 months long deployment of ERP solution using ERP RDS as a baseline (you can view their testimonial here - Schaidt Innovations: SAP ERP on HANA in the cloud - YouTube)
    Customer in Asia with global template deployment that leveraged SAP ERP for Manufacturing with deployment to cloud and 9 countries rollout (Japan, Korea, China, Taiwan, Hong Kong, UK, Germany and US). The initial deployment took 4 months for first country and 2 months for rollout into the additional 8 countries - so total of 6 months. The original plan using traditional approach with full blueprint and heavy configuration was estimated to be more than double of the actual deployment time.
    There are many other examples where customers follow the assemble-to-order delivery model for their project and gain significant benefits doing so. I suggest you to review some of the recordings we did in 2013 about this approach and if you are member of ASUG review the Agile ASAP sessions we did for ASUG PM SIG.
    Link to webinars: SAP A2O Webinar Series Schedule
    Let me know if you have any questions.
    Jan

  • Where in the MIDlet life-cycle should I create multiple forms with LWUIT ?

    Hi all,
    I must create two LWUIT forms in my application. Where should I create the two forms ? I created the first form in the startApp life-cycle method , and when I tried to create also the second form in the startApp method then there is a NullPointerException raised when running the application !
    So where , or how , should I create the second form ?
    Thank you very much indeed
    Edited by: andrianiaina on May 20, 2011 1:59 AM

    I think the problem here is that Arlhoolie wants all of the different TEBs to behave as if they were part of a single interaction that submits only ONE result to the quiz.  Using multiple TEBs in Captivate means that you have multiple scored objects and therefore multiple results being submitted to the quiz.
    If you want a single Success or Failure result submitted to the quiz based on the results from multiple interactive objects then there really is no simple way to do it.  But you could try using the Infosemantics Interactive Master widget to combine all the TEBs as slave objects that report to the Master Widget, which then reports a single score to the quiz based on the results from the slave objects.
    You can learn more about the Master widget here:
    http://www.infosemantics.com.au/adobe-captivate-widgets/interactive-master
    http://www.infosemantics.com.au/interactivemaster/help
    You can download a free trial version of the widget here:
    http://www.infosemantics.com.au/adobe-captivate-widgets/download-free-trial-widgets
    One caveat you should be aware of is that this widget is not HTML5 compatible.

  • How to  run the life cycle planning in interactive planning

    Hi every body,
    Can any one explain me how to run the lifecylce planning in interactive plannings ?
    i am getting an error messages when i run the lifecycle planning ..'no records from infocube "
    I added 9amatnr keyfigure in my pos recently for life cycle planning purpose  ..our histarical data was coming from Infocube BW ...9amantnr keyfigure was not in infocube ..but i added into my pos ...
    Please suggest me ..
    Thanks!
    Kriss.

    thank you Senthil ,
    So ,i need to maintain 9amantnr key figure in BW As well ??Just i added this keyfigure in my pos and initialized the planning area .
    Is it necessary to update infocube with 9amantr ??
    Please suggest me .
    Thanks!
    Kriss

  • What is the total life cycle involved in any project

    Hi ,
    Can n e body help me in knowing  the complete life cycle of any project.
    Starting from the point customer wants to implement SAP for their business to implementation and support.
    thanks in advance,
    sastry

    Dear Sastry,
    It actually depends on various factors, such as :
    1. how many modules they want to implement.
    2. Team Size.
    3. Organizational Structure (Volume of data)
    4. Legacy System
    5. Business Complexity etc.
    There is no hard and fast rule that every project should be completed in a particular duration of time. Depending on the above factors, it may vary any where from 6 months to 18 months or so. (Approximately, it may be less than 6 months or more than 18 months in some exceptional cases).
    Usually it is divided into phases:
    1. Project Preparation : Project team, infrastructure, Software, Steering committe etc will be identified in this phase.
    2. Business Blue Print : Re-engineering of Business process and BBP sign off.
    3. Realization : Analysing Gap and Realization of possible customization and development effort
    4. Final Preparation : Development and Configuration
    5. Go Live and Post Go Live support : Going Live and Support after go live
    You would allot specific time periods for each of these phases and will set milestones accordingly.
    or it could even be like :
    Project Start
    Analysis
    Design
    Design Freeze / Client Sign-off
    Construction
    Testing
    Implementation
    Project End
    Project Management Framework
    Post Close Review
    Training
    Change Management
    Refer following links for more info:
    http://en.wikipedia.org/wiki/SAP_Implementation
    http://www.sapfans.com/sapfans/asap/be_01_e.htm
    Reward points if it is helpful.
    Thanks and Regards,
    Naveen.

Maybe you are looking for

  • Mysterious

    My ipod appears works perfectly on my host commuter. However, recently at my work place my ipod is no longer recognised and can't even be found in 'My Computer'. Really frustrating! I'm sure this is simple to resolve-can anyone please please help? Ch

  • Bridge CC just got very slow

    I am a very old and experienced Ps/Br professional, but can't get around this. My Bridge CC (on a very nice and fast quad core Windows 7 PC), at some point became very slow. Even in the Essentials layout, just going through the thumbnails (already 10

  • Why does my screen not work

    I just recently replaced my macbook A1181 screen and it will now not light up. I can see the back of the screen but it is black and you can't see enough to read it. It isnt the darken, lighten switch either. The screen was shattered and this being th

  • Adding More Than 16 aUdio Tracks.

    How do I add more than 16 Audio Tracks when my computer says there are no more audio tracks available?

  • Duplicate songs appeared on my iPod touch 5g IOS 7.1.2, after synced with a new windows laptop, some duplicates open, some dont.

    Hi, i have an iPod touch 5g with IOS 7.1.2. .My iPod was synced to a previous laptop with my songs and i got a new laptop with the copied songs, i put them on iTunes 11 and synced it to my iPod and duplicates appeared in the music app on most of the