Type of References !!! Location Reference !!!!

What is Strong Reference, Soft Reference and Week Reference?
What is the differences and uses of different refs.?
When to use such reference types? How to set a ref. as such?
What is Location Reference?
Thanks
Trupti

RTFM. In particular the API documentation for the package java.lang.ref.

Similar Messages

  • What�re the different types of reference?

    Hello there:
    I was asked a question during the interview:
    What�re the different types of reference?
    They meant sth like weak reference... anyone can give a more detailed explaination?
    Also someone can talk a little bit about the memory leak in Java? IWhen will it happen? One senario on my mind is that: an array filled with the references of a class, when the program is done with the array, it doesn't apply removeall on the array. Will it cause memory leak?
    Thanks a lot,
    Sway

    They meant sth like weak reference... anyone can give
    a more detailed explaination?[url http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ref/package-summary.html]Read, and ye shall learn.

  • Unsupported file type: broken reference movie in ...

    This happened to me today, and I wanted to record this for search engines to find. It's probably a rare event and hopefully, dear reader, it will not happen to you.
    So I import my FCE movie into iDVD, and iDVD tells me, "Unsupported file type: broken reference movie in (filename)", and won't import it. Okay, this movie is not self-contained, so let's export it again and see if that fixes things. No such luck. Other things I tried which did not help:
    * Exported movie both as a self-contained movie and a not self-contained movie.
    * Tried cleaning all FCE render files and rebuilding.
    * Looking through system logs with Console app.
    * Quit/restart iDVD.
    * Rebooting.
    * Seems that a LiveType fragment in FCE was not rendered completely for some reason. I drill down to find the red-lined unrendered fragments and render them. Then I drill down futher and find more. I render them all.
    After a while, I notice that QuickTime Player can play the movie just fine, and I begin to doubt that I understand what "broken reference" means.
    I finally try exporting the movie from FCE to a different filename. iDVD is OK with that! What's in a name? Something has remembered that the filename itself is bad. Must hunt down the cause....
    Looks like some bad data is stored in the /Users/YOUR-NAME/Library/Caches/com.apple.idvd plist. It says the 'isValid' property for this filename is 'No'. That can't be good. I removed the entry for the troublesome filename with Property List Editor (developers have this) and restarted iDVD. That fixed it!
    Those without Property List Editor can delete com.apple.idvd -- it's a cache, and iDVD will create a new one. Actually, a better practice is to rename the file until you're sure you haven't seriously broken iDVD.

    I'm thinking I likely would have deleted both preference files. The one for iDvd as well as FCE and then started over with a fresh export of the QT ref. movie from FCE => iDvd
    com.apple.iDvd.plist
    com.apple.FinalCutExpress.plist
    That is i'm guessing this is the correct plist for FCE since mine reads:
    com.apple.FinalCutPro.plist
    lastly, i'd do this:
    click here:

  • Adobe reader file preview type library reference

    Where I will may see adobe reader file preview type library reference?

    I would guess that this interface is registered and used by Windows to generate previews for Explorer. It is not supported or documented, but if it does that, it won't have anything to do with text extraction.
    Adobe Reader has a supported interface for displaying in a window.
    For a text extraction API you'd want Acrobat, which would allow you via VBA to run JavaScript to get text quads.
    Note that this is not for server use. If you want server text extraction consider Adobe's PDF iFilter. This is unusual in that it is supported but is not in the SDK; Microsoft define the interfaces to iFilters, not Adobe.
    If you have further questions about Acrobat or Reader development, I'd recommend that you post in the Acrobat SDK forum, to reach the right experts.

  • Type in file location in Finder or file selector windows

    Is there any way I can get a text field, preferrably with filename completion, where I can simply type in the location of a file or folder? In the Finder or file selector dialog, that is?
    Yeah, a directory GUI is nice, but in some cases it is actually faster to write the name than to track down and click through a chain of folder icons. I mean, while still using the GUI - not doing everything in the shell. And just being able to see the path to the directory you're looking at may be useful, too...

    Whoops. Somehow I forgot about Go->Go To Folder, and overlooked it when trying to find it, when I wanted to do this for the first time in a while. How embarassing...
    This interface is of course also available in the file selector via the normal shortcut (ShiftOptionG)
    Even "more direct" access to folder location would sometimes be nice, though...

  • When I type in a location for an object, Edge Animate keeps changing the location. For example, I enter the x-coordinate as 97 and it changes to 94. What's going on??

    When I type in a location for an object, Edge Animate keeps changing the location. For example, I enter the x-coordinate as 97 and it changes to 94. What's going on??
    I'm trying to put the object starting location very precisely and it won't let me.

    With those specs, I'm surprised that it runs at all.
    What kind of PC to use?

  • Help-Task not found - Please check the Task Type, Name and Location are cor

    HI all,
    i have upgraded my owb from version 11gr1 to 11gr2. the installation is complete and all my mappings and objects are imported successfully.
    i was able to execute the mappings using the sql code:
    @/oracle/product/11.2.0/owb/rtp/sql/sqlplus_exec_template.sql
    by logging into sqlplus as the user in whose schema mappings are deployed.
    hOwever, suddenly i am getting the error since sometime back - not sure what might have happened or what might have gone wrong. can someone please help me understand what might be wrong - how to decode this?
    Here is my error:
    @/oracle/product/11.2.0/owb/rtp/sql/sqlplus_exec_template.sql
    Role set.
    Enter value for 1: WSODS
    Call completed.
    Enter value for 2: ODS_SCHEMA
    Enter value for 3: PLSQLMAP
    Enter value for 4: MAPPING_1
    Enter value for 6: ","
    Enter value for 5: ","
    Stage 1: Decoding Parameters
    |  location_name=ODS_SCHEMA
    |  task_type=PLSQLMAP
    |  task_name=MAPPING_1
    Stage 2: Opening Task
    begin
    ERROR at line 1:
    ORA-20001: Task not found - Please check the Task Type, Name and Location are
    correct.
    ORA-06512: at "OWBSYS.WB_RT_API_EXEC", line 759
    ORA-06512: at "OWBSYS.WB_RT_SCRIPT_UTIL", line 910
    ORA-06512: at line 2When i execute this: i get the result as follows:
    SELECT warehouse_object_id, store_id, object_type_id, object_type_name, object_name FROM owb$wb_rt_warehouse_objects
    where object_name = 'MAPPING_1';
    WAREHOUSE_OBJECT_ID     STORE_ID                OBJECT_TYPE_ID          OBJECT_TYPE_NAME                                                 OBJECT_NAME                                                     
    15947                   15325                   769                     PLSQLMap                                                         MAPPING_1                                                       
    1 rows selectedEdited by: Chaitanya on Mar 5, 2012 3:33 AM

    Hi Chaitanya,
    Did you get any resolution for this error? I'm facing the same error while trying to execute OWB mapping through this command.
    Any help would be much appreciated. Thanks.
    Regards,
    Jagari

  • Order Types - screen reference object

    Dear PM guys,
    In Functions and Settings for Order types-In Configure Order type screen,If I give O120(Functional location(30)equipmentassbly) or O180(Functional loc. 1:1 + equip. + assembly) for the field Screen RefObject, Its makes no difference in flow.Then what is the significance of that field.
    Regards
    ISWARI

    When you assign the  120 then the reference object Screen changes in the order and the Functional Location field is 30 Characters Long

  • Create a Sales order (type) with reference to another Sales order only

    Hi
    I have 2 Order Types (ZRA and ZRC). The ZRA should always be created only with reference to a ZRC. It should not be allowed to create ZRA directly.
    I believe I can remove the Item categories somewhere, but can't figure it out. Any help is appreciated
    Regards,
    Vikas

    Hi
    In sd doc tyoes in t code vov8 in the general control tab you can define mandatory referance and in that you can choose option C which means the referance doc should be only a sales doc not enquiry or quotation
    Pls reply whether my suggestion has helped you
    Raja

  • Attachments of type "Document Reference" in OAF

    Hi frnds,
    I have a question on viewing attachments in OAF. We have some documents attached to PO and the document type is "Document Reference" in fnd_documents. These documents are stored in the content management server, not in fnd_lobs, so fnd_documents table has a reference to the file path (DM_FOLDER_PATH column in fnd_documents has the URL path for the documents with DM_TYPE as FILE). MEDIA_ID and URL values are blank. I was wondering how can we display these documents in the advanced table. I have tried with AttachmentImage but it doesn't pull these files; it pulls only those documents which have an entry in fnd_lobs. How can we fetch these documents and while clicking the file name, forward to the content management server?
    Appreciate your help on this.
    Thanks
    Shree

    Thanks Pratap. I cannot use attachmentImage or attachmentTable region for this though. I was hoping if any existing objects/item types can be used directly without any modifications.
    Thanks
    Shree

  • XML-Type and reference to unavailable DTD causes validation problems

    Hi,
    I'm fairly new to Oracle's XML features. I've created a view that produces XML from a number of tables. The resulting XML is used to be stored on a web site for download by customers (this is a manual process about once a week via a CMS). It contains a reference to a DTD that is available on the web server, too. This XML must also be stored in the Oracle database. The problem is that the Oracle Server is not allowed to access any web site (Oracle server is in inhouse network with no access allowed to the world outside). So I can't store the XML in an XML-type column, as the Oracle server wants to validate the XML against the referenced DTD. There is an option not to validate the XML. But then I get the error when I try to access the XML afterwards. So up to now I use a CLOB column to store the XML, but then I lose all the benefits of an XML-type column. Is there any workaround?
    TIA,
    Stefan

    In 10.2.0.2.0 The following works
    SQL> drop table TEST_XML
      2  /
    Table dropped.
    SQL> create table TEST_XML (
      2     XML_SEQ number(10) not NULL,
      3     XML_DOC XMLType not NULL
      4  )
      5  /
    Table created.
    SQL> drop sequence TEST_XML_SEQ
      2  /
    Sequence dropped.
    SQL> create sequence TEST_XML_SEQ
      2  /
    Sequence created.
    SQL> create or replace view V_EMP_XML as select
      2         -- Processing Instruction
      3         '<?xml version="1.0" encoding="ISO-8859-1"?>' ||
      4         -- DTD reference
      5         '<!DOCTYPE employees SYSTEM "http://myserver/dtd/employees.dtd">' ||
      6         SYS.XMLTYPE.getClobVal(
      7            XMLElement("employees",
      8               (select XMLAgg(
      9                          XMLElement("emp",
    10                             XMLAttributes(
    11                                e.EMPNO as "empno",
    12                                e.DEPTNO as "deptno"
    13                             ),
    14                             XMLElement("ename", e.ENAME),
    15                             XMLElement("job", e.JOB),
    16                             XMLElement("salary", e.SAL),
    17                             XMLElement("hiredate", to_char(e.HIREDATE, 'YYYY-MM-DD'))
    18                          )
    19                       order by e.EMPNO
    20                       )
    21                from   SCOTT.EMP e
    22               )
    23            )
    24         ) as XML_DOC
    25  from   DUAL
    26  /
    View created.
    SQL>
    SQL> insert into TEST_XML
      2  (
      3    XML_SEQ,
      4    XML_DOC
      5  )
      6  select TEST_XML_SEQ.NEXTVAL,
      7         XMLType(v.XML_DOC, NULL, 1, 1)
      8  from   V_EMP_XML v
      9  /
    1 row created.
    SQL> select t.XML_DOC.getClobVal() as RESULT
      2  from   TEST_XML t
      3  where  t.XML_SEQ = 1
      4  /
    RESULT
    <?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE employees SYSTEM "http://my
    SQL> select extract(t.XML_DOC, '//emp[@deptno=20]').getClobVal() as RESULT
      2  from   TEST_XML t
      3  where  t.XML_SEQ = 1
      4  /
    ERROR:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00202: could not open "http://myserver/dtd/employees.dtd" (error 101)
    Error at line 1
    no rows selected
    SQL> alter session set events ='31156 trace name context forever, level 2'
      2  /
    Session altered.
    SQL> select extract(t.XML_DOC, '//emp[@deptno=20]').getClobVal() as RESULT
      2  from   TEST_XML t
      3  where  t.XML_SEQ = 1
      4  /
    RESULT
    <emp empno="7369" deptno="20"><ename>SMITH</ename><job>CLERK</job><salary>800</s
    SQL>

  • Data Type with reference and view maintenance

    Dear all,
    There are two questions that I want to ask.
    1.     Error when referencing a table with data type = u2018STRINGu2019.
    I have a Z table with some fields = u2018stringu2019, when I use this as a reference, an error prompted.
    "ZTBL_ABC" must be a flat structure. You cannot use internal
    tables, strings, references, or structures as components.-
    2.     Error in generating the View maintenance for field length > 255.
    Actually, I want to create fields with
    1.     data type = char(255),
    2.     data type = text
    3.     data type = char(3000)
    It is okay if I create the field with the selected size, however, when I generate the View maintenance (which can be access through SM30); it does not allow me to do so. It still not working if I change it into string. How can I create such table and use the table maintenance, as well as using that as the reference type of an internal table for another program?
    Regards,
    Mandy Au

    Hello,
    1st of all a table which has a field of type string can be converted in to table maintenance because TM does not support string type as it becomes a very big field to be displayed on screen ... so u need to change that.
    and then about the CHAR of length 3000 is too big ... to have a max limit of 255.
    If you change this both u will be able to generate TM.
    Incase after changing the field length it it gives error in activatin your table then go to SE14 put your table name EDIT and then Adjust n activate it....
    hope this was helpful
    --- Close the post once you get the solution

  • One particular Po document type with reference to one particular PR documen

    Dear all
           I want to create one PO for a particular document type only with reference to one PR, that to after release of PR, how can i do it.

    Hi
    Goto, OLME ---> PO ---> Define Document types -
    > Choose your PO Doc.Type...> there in Linking PR and PO Doc.Type....allow your PR doc.Type only.....
    Also in OLME -
    > PR -
    > Define Document types -
    > Choose your PR Doc.Type...>There also you maintain this PR Doc.type only as ref. to your PO doc. type....
    Then Configure Release Statergy in such that All your new PR Doc. type PRs should gone thro the Release Statergy.....(use field CEKKO-BSART)
    Reward if useful
    Regards
    S.Baskaran

  • Copy of 601 movement type without reference to delivery

    I have created new movement type as 901(copy from 601 movement type) in OMJJ. I want to use this 901 movement without reference to delivery in my project. In Account grouping and update control-Movement indicator L is available. But entry is in freeze mode so I am not able to remove movement indicator L. So please guide me how can I achieve this? Is there any way?
    I have made copy of 231 movement. but problem is in case of 601, we can maintain VAX account in case of non consumption posting and VAY in case of consumption posting. But in 231 movement this facility/such record not available to maintain both VAX and VAY. My company is using both VAX and VAY. So in both case( 231 and 601), I have to change/create records of movement combinations. So please suggest keeping this thing into consideration.
    Pl. help.
    Vijay

    Still waiting for an answer.
    Vijay

  • Netwrok Profile,Network type and reference to a plant

    Whenever a network is created, we must assign it to a Network Profile, Network type and it should have a reference to a plant....what do you mean by this?

    Hi,
    In order to create a network, network profile and network type should be defined in advance.
    1. The network profile contains default values and parameters for controlling the processing of networks, such as control keys for activities.
    The data which you enter in the network profile is copied into the header, activities, and activity elements when you create a network.
    2. Every network you create must have a network type allocated to it.
    The network type determines:
    a) order category
    b) whether the network is used for planning
    c) default value for the settlement profile
    d) default value for a status profile, if you want to use the user status in status management
    e) allocation of the network type to a number range
    3. You enter more specific network type information (eg. default settlement rule, costing variant) <b>plant wise</b> in 'parameters for network type'.
    You may visit:
    http://help.sap.com/saphelp_47x200/helpdata/en/a9/8a853488601e33e10000009b38f83b/frameset.htm
    Regards

Maybe you are looking for