List of object

How to find the list of objects in the file. Example. we have two directory under jdbc directory i.e AAA and BBB. Under AAA directory, I have store two objets ( DataSource Object). Now I can find find out both the objects without knwing the name of object.
Basically , how to list the objects under file system.

http://java.sun.com/products/jndi/tutorial/basics/naming/list.html

Similar Messages

  • Need to find out the list of objects under a Transport

    Hi ,
    My requriement is to programatically find the list of objects under the Transport.
    I tried using the table E071 but no luck is there any FM or table which gives me the list of objects assigned to the transport request
    Regards,
    kk

    TYPES: BEGIN OF ty_tasks,
            trkorr TYPE trkorr,
            trstatus TYPE trstatus,
            strkorr TYPE strkorr,
            as4user  TYPE tr_as4user,
           END OF ty_tasks,
           BEGIN OF ty_object,
            trkorr TYPE trkorr,
            as4pos TYPE ddposition,
            pgmid TYPE pgmid,
            object TYPE trobjtype,
            obj_name TYPE TROBJ_NAME,
            lang TYPE spras,
           END OF ty_object,
    SELECT-OPTIONS : so_trans FOR e070-trkorr
    *selection from table e070.
      SELECT trkorr
             trstatus
             strkorr
             as4user
             FROM e070 INTO TABLE it_tasks
             WHERE strkorr IN so_trans or
                   trkorr in so_trans.
    IF SY-SUBRC = 0.
    *selection from table e071 to get all the objects
    *under the respective task/request.
    data: g_trans type e070-trkorr,
          g_strkorr type e070-strkorr.
      SELECT trkorr
             as4pos
             pgmid
             object
             obj_name
             lang FROM e071 INTO TABLE it_object
             FOR ALL ENTRIES IN it_tasks
             WHERE trkorr = it_tasks-strkorr.
    hope it might be helpfull.
    regards ,
    aby

  • Best Practice for caching global list of objects

    Here's my situation, (I'm guessing this is mostly a question about cache synchronization):
    I have a database with several tables that contain between 10-50 rows of information. The values in these tables CAN be added/edited/deleted, but this happens VERY RARELY. I have to retrieve a list of these objects VERY FREQUENTLY (sometimes all, sometimes with a simple filter) throughout the application.
    What I would like to do is to load these up at startup time and then only query the cache from then on out, managing the cache manually when necessary.
    My questions are:
    What's the best way to guarantee that I can load a list of objects into the cache and always have them there?
    In the above scenario, would I only need to synchronize the cache on add and delete? Would edits be handled automatically?
    Is it better to ditch this approach and to just cache them myself (this doesn't sound great for deploying in a cluster)?
    Ideas?

    The cache synch feature as it exists today is kind of an "all or nothing" thing. You either synch everything in your app, or nothing in your app. There isn't really any mechanism within TopLink cache synch you can exploit for more app specific cache synch.
    Keeping in mind that I haven't spent much time looking at your app and use cases, I still think that the helper class is the way to go, because it sounds like your need for refreshing is rather infrequent and very specific. I would just make use of JMS and have your app send updates.
    I.e., in some node in the cluster:
    Vector changed = new Vector();
    UnitOfWork uow= session.acquireUnitOfWork();
    MyObject mo = uow.registerObject(someObject);
    // user updates mo in a GUI
    changed.addElement(mo);
    uow.commit();
    MoHelper.broadcastChange(changed);
    Then in MoHelper:
    public void broadcast(Vector changed) {
    Hashtable classnameAndIds = new Hashtable();
    iterate over changed
    if (i.getClassname() exists in classAndIDs)
    classAndIds.get(i.getClassname()).add(i.getId());
    else {
    Vector vc = new Vector();
    vc.add(i.getId())
    classAndIds.add(i.getClassname(),vc);
    jmsTopic.send(classAndIds);
    Then in each node in the cluster you have a listener to the topic/queue:
    public void processJMSMessage(Hashtable classnameAndIds) {
    iterate over classAndIds
    Class c = Class.forname(classname);
    ReadAllQuery raq = new ReadAllQuery(c);
    raq.refreshIdentityMapResult();
    ExpressionBuilder b = new ExpressionBuilder();
    Expression exp = b.get("id").in(idsVector);
    roq.setSelectionCriteria(exp);
    session.executeQuery(roq);
    - Don

  • Dynamic List of Objects  OracleAS Portals

    <img class="emoticon" src="images/emoticons/confused.gif" border="0" alt="" />
    Hello hope someone can help me
    I have a <strong>List of Objects</strong>, the thing is that I want that list to give a <strong>parameter</strong>, so i can use it in a <strong>query</strong> for showing s<strong>pecific
    content</strong>, from a <strong>database</strong>, depending on the <strong>selected item</strong>, but is that posible, or should I use like a combobox or what do
    you recommend??
    <p>
    <strong>thanks in advance!! </strong><sup><strong> ^_^</strong>
    </sup>
    </p>
    Edited by: DunkelBlume on Sep 2, 2008 11:54 AM

    Hi,
    a list used in the singleSelectOne component does not change or set the currency in the list VO (in opposite to the navigation list). So this synchronization needs to be done programmatically. Examples of dependent list of values are available here
    --> example 62 http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html
    --> word document you can download from http://thepeninsulasedge.com/frank_nimphius/2008/05/16/blogbuster-treasures-hunt-blog-entries-from-the-lost-orablogs-blog-for-download/
    Frank

  • Entity object attribute with a list of objects

    Does anyone know how one sets up an entity object that has an attribute with a list of objects as the type? (assuming that's supported)
    as in:
    CREATE TYPE phones AS VARRAY(10) OF varchar2(10);
    Create table suppliers (supcode number(5),
    Company varchar2(20),
    ph phones);
    The SOA Suite in jDeveloper (new Entity Object/attributes etc) has an ARRAY that can point to REF or OBJECT. Neither work. When I try to Create DB Object later from the Entity Object I've created I get an invalid type.

    What you suggested about "validation codes on the VO" is not written on the ADF Documentation.
    I try to blindly/strictly follow best practices (particularly on Validations, using Declartive and/or built in validators) on most ADF documentation and blogs but there are many scenarios on coding some large ADF projects that I think must veer away from the best practices stated on the documentation or maybe add new rules on the documentation depending on how complex an ADF project would be.
    I religiously followed best practices stated on the documentation to use Entity and Attribute Validators when performing validations. What I did was i had created lots of Custom Validators (by implementing JboVAlidatorInterface interface) for each of the attributes on an Entity Object that need validated. So those validator is valid only for one attribute, its not reusable. And those validation codes either have reference to a ViewObject or call some PL/SQL procedure. So at some point are codes became messy.
    Ultimately the whole project became harder to manage when the codes became large. Now I am trying to refactor the whole application by separating it into project/package and I am hoping to do it with little Re-coding as possible.
    Hope to get your opinion on this one.
    regards,
    Anton

  • What is Piece List, Work List and Object List

    Hi All,
    Can you please give idea about Piece List, Work List and Object List in BI.
    What are their uses?

    Hi,
    Piece lists
    You can use this request type to set up your own object lists and save them under a name of your choice.
    For more info on this go through the link below
    http://help.sap.com/saphelp_sm32/helpdata/EN/57/38e1b64eb711d182bf0000e829fbfe/content.htm
    Worklists
    Worklists are the quickest and most convenient way of accessing the objects that you need to translate. Translators can call up a worklist in SE63 once a system has been completely set up for translation.
    For more info on this go through the link below
    http://help.sap.com/saphelp_sm310/helpdata/en/77/571a1f492011d1894a0000e829fbbd/content.htm
    Object Lists
    The Object Lists tab page in transaction SLWB enables you to create and manage object lists in the Translation Planner.
    An object list should contain all objects relevant for translation. You can create object lists according to a variety of criteria
    For more info on this go through the link below
    http://help.sap.com/saphelp_sm32/helpdata/EN/d4/341964249711d3b29e0000e817ab98/content.htm
    Regards,
    Marasa.

  • List of objects in Jsp

    Hi All,
    I have list of object. each object has some fields. ex. item, type, zone. I want to retrieve it in jsp. Now i am using
    <%List itemList = (List)session.getAttribute(Constants.ITEM); %>
    <%     for(int i =0;i<itemList.size();i++){
    NhopItemDef nhopItemDef= (NhopItemDef)itemList.get(i);
    if(nhopItemDef!=null){
    if(nhopItemDef.getItemType().trim().equals(Constants.BED_ZONE)){
    %>
    <tr >
    <td class="tb_dred_left_bf" height="30">
    <html:hidden property="item" value="<%=nhopItemDef.getItem()%>"/>
    <%=nhopItemDef.getItem()%>
    </td>
    Please let me know how to implement it using logic:iterate or c:foreach. which is the best way to implement?
    please provide some example codes here.
    Thanks & regards
    arullakshmi

    arullakshmi wrote:
    Hi All,
    I have list of object. each object has some fields. ex. item, type, zone. I want to retrieve it in jsp. Example:<c:forEach var="item" items="${itemList}">
      <tr>
        <td>${item.name}</td>
        <td>${item.type}</td>
        <td>${item.zone}</td>
      </tr>
    </c:forEach>For more information, check out a good [JSTL tutorial|http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSTL.html].
    ~

  • Best method for scrollable list of objects

    I was attempting to create a list of objects in a scrollable pane with the ScrollPane object. I am having a very hard time customizing what is actually scrolling in that pane, though. By using a custom renderer class, I am able to change what it looks like and even add objects to it, but I am having trouble passing data to those objects at creation because it is loaded through the pane object itself.
    What I would like to do is create an object with buttons on it (relative to that object) and be able to add multiple ones to a scrollable pane. I tried to figure out a way to be able to simply add my object as the item, but it seems to require a specific object. Is there any work around to this? What would be the best way of going about this?
    Thanks for any help.

    Class: java.sql.DatabaseMetadata
    Method: getSQLKeywords
    Desc: Returns a comma-delimited list of all non-SQL92 keywords used by the database
    Example (Source http://javaalmanac.com/egs/java.sql/GetSqlKeywords.html?l=rel ):
    import java.sql.Connection;
    import java.sql.DatabaseMetaData;
    public String[] getSQLKeywords(Connection connection) {  
       String[] keywords = null;  
       try {       
          DatabaseMetaData dbmd = connection.getMetaData();       
          keywords = dbmd.getSQLKeywords().split(",\\s*");   
       } catch (SQLException e) {
          // Handle Exception   
       return keywords;
    SQL92 Keywords
    The SQL92 specification is available for purchase. However, if you just want the full list of reserved words / keywords for a particular type of database, there is usually documentation provided by the database vendor.
    Full Keyword List Oracle 8.0:
    http://www-rohan.sdsu.edu/doc/oracle/server803/A54656_01/vol2_wor.htm#421705
    For Other Oracle Versions:
    - Visit technet.oracle.com
    - Register for free
    - Go to Documentation
    - Look under K for Keywords in index for newer versions of Oracle
    - Look under Programmer's Guide to the Oracle Call Interface for older versions of Oracle

  • Tag files, Lists, and object typing

    I'm passing a list of objects to a custom tag, created via a tag file.
    I can access object properties in the jsp page like this -
    <c:out value="${listOfItems[0].property}" />
    but inside the tag it doesn't work. It understands that its being passed a list and the number of items in the list but not the type of objects in the list. I think I need to declare the type of object that the list is returning but I'm unsure of th jstl way of doing this.
    advice?
    thanks

    JSTL uses introspection/reflection to call methods/access properties.
    It doesn't have to know the type of object in the list.
    How are you accessing this object in your tag file? Using EL again? That should work fine. If you use java/scriptlet code then you will need to cast the object.
    Have you declared the attribute that is being passed in? What type are you expecting? Default is String unless you specify otherwise.

  • Changing focus line in List View object?

    Hi -
    I have an list view object on my dashboard that displays about 50 lines of data, with the very first line being a total line. You can drill-into the any one item on the list view to see detail in another chart. The content of the list view is updated when the date range is change from current month to previous month.
    My question is this: if I select the 5th line item in the list view then change the date range, the list view retains the focus on the 5th line even after it is updated - so is it possible to force the list view to change the focus to the 1st line everytime the date range changes?
    I am guessing no because I see nothing in the properties of the list view that allows you to control focus.
    Thanks in Advance!

    Melissa,
    No there is no option as such in the component. May be you can use the Reset button component.
    -Anil

  • Function Module which gives complete list of objects that another object to

    Hi All,
    Is there any standard FM that can give us complete list of objects that another object(Order/Cost Center) settles to??
    Thanks in advance,
    Prathima

    Hi,
    Question is not clear.
    Revert back,
    Regards,
    Naveen

  • Listing New Objects Like views and tables

    Hi...
    Are we able to use SELECT statement to get a list of objects like tables or views which created in a given time frame ?
    For example, since OCT 2010...
    Thanks.

    hi,
    these objects are depend on your interest.
    actually there are three types of tables which stores the information about objects:
    1. user_objects: which contains all the objects that are owned by the owner of the schema.
    2. all_objects: this shows you all the objects that are acccesible to you, i.e. may be you can have access on some other user's objects.
    3. dba_objects: which shows the objects in the database.

  • List of object R3TR

    Hello,
    I search where are stored the data of field PGMID and OBJECT   of TADIR.
    Can you help me to find the tables where are stored the object field ?
    Thank tou
    Thierry

    Check Function Module [TRINT_OBJECT_TABLE |http://forums.sdn.sap.com/search.jspa?threadID=&q=TRINT_OBJECT_TABLE&objID=c42&dateRange=all&numResults=30&rankBy=10001](test with iv_complete  = 'X') you will get a list of object id and type.
    Regards,
    Raymond

  • How to display List of objects in jsp?

    Hi,
    I have a list containing Collection of bean objects.
    Now I want to display the values in the list of objects in a jsp using JSTL.
    Any body help me how to retrieve the bean objects from the List and how can i display that values in the jsp.
    Advanced Thanks,
    Mahendra

    Have you tried to use <:forEach></c:forEach> tag available in jstl?

  • Handle list of list of objects in actionForm

    Hi,
    In my struts application, I am getting results from database, based on my search query.
    In result, I am getting set of list of objects mean set contain lists and list contain objects.
    I am passing these values from my action class to jsp page using one bean class.
    Now I want to pass all changed value from jsp page to my next action class using actionForm.
    but problem is, How can I do. because there are set of list of objects.
    pls give me suggestion.

    <html:select property="allEntity" style="width: 200px">
                                  <html:option value="Select an Entity" selected />
                                  <html:optionsCollection property="entity" value"id" label="name" />
                                  </html:select>
    Action Form class:
         private Collection entity;
    private String allEntity;
         public Collection getEntity() {
              return entity;
         public void setEntity(Collection entity) {
              this.entity = entity;
    entity holds all values, you can use it in the action class.
    you can use below too:
    String name[] = request.getParameterValues("name");
    Message was edited by:
    skp71

Maybe you are looking for

  • Beta driver for X-Fi (SBXF_W7DRVBETA_US_2_18_0008) users feedback thread

    <div class="DownloadDate">Release date : 28 Jan 09<div class="DownloadShortDesc">This?download is a beta?driver providing Microsoft? Windows?7?Beta support for Creative Sound Blaster? X-Fi?series of audio devices. For more details, read the rest of t

  • How to Use GnuPG(GPG) winth in java

    Hi all I am having one tough time getting How to use GnuPg with in Java languge to encrypt and decrypt file. Can anyone offer any help ... Satya

  • IBook G4 & Managing iTunes library (Storage space)

    My G4 has a 30 GB hard drive and I never dreamed I would run out of space, but that was before iTunes. Can I upgrade to a larger hard drive without going to external devices? If so, how do I find these? When I did a search in the Apple store only ext

  • Finished material forecast

    Hi Gurus, Can anybody please clarify my confusion. Our business wants to forecast to the finished material, saying how many will need to be produced in a given time frame. based on this the system will kick the reuqirements down to the level of raw m

  • Transcoding Failure when using H.264 (3x crash service down)

    I am compressing a video for the web. The original video is 720P DVCPro HD 23.98fps with exactly 2 minutes and 30 seconds length. I'm trying to compress it down to 480x270 (16:9) with H.264 using Compressor 3.0.1. For some reason it keeps on giving m