Is there any way to call a method by name?

Hi there,
Is there any way to call a method by name?
e.g. myobject.whatIAmLookingFor("the_name_of_a_myobject's_method",param1,param2,...);
Thanx in advance

Is there any way to call a method by name?
Yes:
<looking at his paint(Graphics g) method>
Hey Sam! Commere Sam! Das a good boy!

Similar Messages

  • Is there any way to call java program whenever i login to R3 System.?

    Hi Experts
    Is there any way to call java program whenever i login to R3 System.
    Means Whenever the user login to R3 system i should trigger one java program.. Is there any way
    Please help me
    Thanks & Regards
    Ravi Shankar B

    If you want to access to the Windows Taskbar, you should call some Win32 APIs and JNI. Refer to Win32 references.

  • Is there any way to call 'Action' in web.xml ?

    Dear All,
    My requirement is like, in my Deployement descriptior (web.xml) I would like to call "action" instead of calling welcome page(*.jsp).
    Iam using JBOSS with Jetty5.0 Servlet Container.Is there any way to call action in my deployment descriptor?
    Thanx in advance

    You can, but you have change your server configuration file. I am using Sun App server where we have a default-web.xml file in the config directory where it specifies which default file will be loaded, instead of calling the welcome.jsp. In Sun App server there is a parameter called <welcome-file-list> where you can specifiy which one to be loaded. I strongly believe there must be something like that in JBoss. Check out all the xml files in the JBoss config directory where you can find a solution to it.

  • Is There Any Way To Choose To Sort By Name and Pick a Background Color in Finder?

    Is There Any Way To Choose To Sort By Name and Pick a Background Color in Finder?  I've noticed in Finder's View Options that I cannot choose to sort by name and have a background color in icon view.  I've done a search in discussions and someone else mentioned this as well.

    To sort by name.....
    Open the finder window, then select the "change the item arragement" button.  Choose name from the drop down.

  • Is there any way to call methods of one view from another

    Hi experts,
    I am new to webdynpro.I am having some requirement in which I need to call methods of one view from some other view of same component .So is there any way to do this.

    Dear Pradeep,
    This will solve your problem......( plz 1st read everything ..)
    There are 2 views  :
    i) Mandatory Attributes ' view(V1)
    ii) Button' s  View..(V2)
    1. Create a method in Component Controller.( M1).
    2. Goto V2 . In the Action Handler method of Button , call method  M1 of component controller.
    3. Write your Code in M1 instead of  V2 method.
    4. Create an EVENT ( E1 ) in component controller.
    5. Fire this event  from M1 before executing Action Code.
    6. Now  Add the event handler method of  E1 in  V1 ( i.e. Mandatory attributes view. )   ..........clear????? .. set "METHOD TYPE" = Event Handler. instead of  Method.
    7. In this event handler method in V1 , write the "check_mandatory_attribute_view" method.
    8. use necessary flags..
    Regards ,
    Aditya.

  • Is there any way to call OCX components from forms 10g..?

    Dear All,
    I heard that OCX are deprecated features for Forms 9i (9.0.2) and higher. Is there anyother way to invoke the same from forms9i and higher versions.
    We need to do this one of our customer. In forms10g oracle completely removed that option from the tool bar.
    Any help would be greatly appreciated.
    Thanks in advance
    Thangaraj.S

    then it was a "bug" in 9i and they removed it a little bit to late from the toolbar.
    Because Active X can't run in a standard-java-environment like the Forms-Service in your client-browsers generic applet, you have to search for new widgets that do the same in Java and not in OCX.
    use google to search for such components

  • Is there any way to call a sub vi which has input parameters and not wait until it finishes executing?

    Hi,
    I have a main vi that I would like to call a sub vi from and have the main vi continue on without waiting for the sub vi to finish. I can open a reference to the sub vi and invoke the "run" method, but in this fashion, I cannot pass any parameters to the sub vi. Or, I can use a call by reference node where I can pass parameters, but there is no option to not "wait until done". How can I do this? Is global variables the only way?
    Thanks!

    Use the method Set Control Value before you invoke Run. You specify the exact name of the control and the data you want to pass needs to be flattened to a string.

  • Is there any way to call a sql file from a pl/sql block

    Hi,
    I want to call a sql file from a pl/sql block.
    the pl/sql block has an exception handler. The pl/sql block will execute the sql file and in case it throws error then the exception handler will take care of it.
    The sql file will be a master file and it will itself call other sql files.
    is it possible to call any sql file from pl/sql block ?

    When you say "sql file", what precisely do you mean? Do you have a file that has just SQL statements? Or do you have SQL*Plus scripts?
    Where are the files stored? Are they on your client machine? Or the database server?"which in turn calls other sql files" seems to imply that the answer to the first question is that you have SQL*Plus scripts. If you have SQL*Plus scripts, you need SQL*Plus to execute them. PL/SQL is running in the Oracle database, SQL*Plus is a client application. It is not practical to have PL/SQL call SQL*Plus. Since you've already ruled out the best of the bad options, it appears that the answer is no, you can't have your PL/SQL run these files.
    As Alex points out, that's probably a good thing. It sounds like your application has been designed incorrectly. If you need PL/SQL, you should be creating stored procedures and functions and calling those from PL/SQL. Having PL/SQL depend on code in flat files outside the database is not a good idea.
    Justin

  • Is there any way to call VBscript from java code

    hi all
    i have a question about calling a VBscript from my java code. can we do that in java? if so, any sample i can look at it. thanks in advance.

    it is not the scripting used in the browser. it is
    the scripting that builds VB program used in MS SQL
    server like the bulk loader. i need to call this
    loader to load xml data into the database.So you have a .vbs file that you want to execute?
    Runtime.getRuntime().exec("cmd.exe /C start " + fileName);
    Where fileName = the path to your .vbs file.

  • Is there any way to call the servlet from the applet

    hi all,
    My problem is that i have a applet .After the applet completes execution a servlet should be invoked.Is it possible to do so.
    I also want to pass a string array to the servlet.
    Is it possible to pass a string array to aservlet.
    If yes please do inform me that method.
    And from that servlet we should be able to redirect the the response of the applet to the servlet or JSP.
    The flow is some what lILE THIS
    APPLET TO SERVLET TO SERVLET/JSP

    Stop double posting. It won't help
    http://forum.java.sun.com/thread.jspa?threadID=642015
    and take a look at this.
    http://www.google.com/search?hl=en&q=applet+servlet+communication

  • Is there Any Way for calling servlet inside from javascript ?

    i have to call servlet from javascript .
    is it possible?

    is it possible?I don't know what excactly you are trying to do, but yes it's possible.
    You need to send a request to the server.
    Keep in mind that JavaScript is executed on the client whereas the Servlet is executed on the server.

  • Is there any way on earth to change screen names???

    Someone set up my account for em to show me something on it and how it works and now I'm stuck with this name that sounds to sassy for computer problems! Any advice would be appreciated... thank you!!

    Sorry about this, but the system for changing your Screen Name is currently not available via the corporate website.
    Since the UI team implemented the new skin for the 2014 release of CC, they switched over to using https://accounts.adobe.com for managing your "profile" - but this is only designed for stuff relating to a CC subscription.
    The problem was reported internally in June, still waiting for them to respond. Until they fix it you can follow this link to an unlisted page, where the old Account Manager is still functional:
    https://www.adobe.com/account/account-information.html
    You need to be logged in to the corporate website before clicking that link. It will work for any localization, including EDU customers.

  • Is there any way to pass through PIPELINED function

    Hello,
    For clarity of my code I would like to move some part of my PIPELINED function out to sub-function. It there any way to call one PIPELINED function from other PIPELINED function a way to union their results?
    I can try to use temporary table to emulate such behavior, but it won't be exactly the same...
    Regards

    Yes, you can. The only thing you need to remember is pipelined function can be salled from SQL only. So your functions will look like:
    Pipelined function 1:
    create or replace
      function pipelined_function1(...)
        return ...
        pipelined
        is
        begin
            pipe row(...);
    end;
    /Pipelined function 2:
    create or replace
      function pipelined_function2(...)
        return ...
        pipelined
        is
        begin
            for v_rec in (select * from table(pipelined_function1(...))) loop
              pipe row(...);
            end loop;
            pipe row(...);
    end;
    /SY.

  • Is there any way to access an overridden method of super class?

    class Animals
         void makeNoice(){System.out.println("General noice");}
    class Dog extends Animals
              void makeNoice(){System.out.println("bark");}
    };Is there any way to access the makeNoice() of Animals class from a Dog object
    Dog dog = new Dog();
    Animal animaldog = dog;
    animaldog.makeNoice(); // will always calls Dog's makeNoice() ie the overriden method.
    Is there a way to access the Animals makeNoice() method ? by using cast or super etc?
    Or it is not possible at all?

    Rajeebs wrote:
    Now another question coming in my mind.
    Whether any way to access a method which belong to super class's super class without using any method of class B,
    like super.super.fn() ??Isn't this just the same question again? And won't you again just "solve" it by writing some invokeSuperSuperMethod or other? This flawed design is quickly getting out of hand, isn't it? The question isn't "How can I invoke an arbitrarily deep superclass' method?" but more "Why do I need to invoke a method belonging to a concrete type at all?". If you need to do that, chances are you've misused inheritance.
    To use your initial sample code, in what circumstance would you require that a Dog make anything other than a Dog noise? It makes no sense. Point is, you have an Animal abstraction, and can call makeNoise on any instance of any subclass, and it will make the appropriate noise. By trying to use trickery to force other noises, you're doing something unnatural, and you're also depending on actual specific concrete subclasses. If you're going to go to specific classes and ask them to make their noise, what use is the inheritance? What use it the polymorphism?
    Are we heading into another "I've got a brilliant idea for a [useless language feature|http://forums.sun.com/thread.jspa?threadID=5423706&messageID=10905772#10905772], guys!" thread?

  • Is there any way to get rid of the audio message that I have unlimited minutes when I make a call? I want that 10 seconds of my life back :)

    When I make a call I get an audio message that I have unlimited minutes and then dial the number. Is there any way to get rid of that message? Because I really want to get back those 10 seconds back, Ha, Ha, not!

    Whoever thought this new search box GUI was a good idea was mistaken IMHO.
    I've used the method shown above to return it to the old constant icon/text display with instantly available drop down of my alternative chosen search engines. All back to how it was in the previous version. Yay!
    Displaying the chosen default search engine icon/text in the search box just seems a better and more sensible GUI feature to me than needing to hover over the box to show the same information (minus icon) . As for having to start entering search terms before the other search engine options become available - that is just plain ill conceived design.
    The old design is more user friendly and should be the default setting but if some users want the new GUI for the search box why not include that under Tools > Options?

Maybe you are looking for