I need to know the Object that created my Object

help needed!!
From inside a method of myclass, I want to call a method of the class that created myclass..
public class BSQL{
private Manager m;
public void BSQL() {
m = new Manager();
public void beeep() {...}
The other class:
public class Manager {
public void x{
!!need to call beeep() from the BSQL that created me

Try this....
public class BSQL {
     private Manager man;
     public BSQL() {
          man = new Manager(this);
          man.doManagerStuff();
     public void doSqlStuff() {
          System.out.println("Doing stuff.");
     public static void main(String args[]) {
          BSQL b = new BSQL();
public class Manager {
     private BSQL creator;
     public Manager(BSQL creator) {
          this.creator = creator;
     public void doManagerStuff() {
          creator.doSqlStuff();
}

Similar Messages

  • I need to  know the name of the database table and the fields in that table

    hi,
    i need to I need to  know the name of the database table and the fields in that table for the following fields of the front end .
    1) incident details.
    2) ownership details
    3) injury type
    4) % of investigation completed withen 7 days.
    5) count of incident type
    6) cost of workers compensation claim.
    7) injury resulting from for workers compensation claim
    8) investigation free text.
    9) investigation contribution factors.
    10) investigation root cause.
    11) investigation root cause free text
    12) employee risk assesment
    13) protential infrigment notice issued
    14) actual infrigment notice issued.
    15) actual infrigment notice reference number.
    16)vehicle damaged text.
    18) when the incident occured.
    thanks and regards,
    pronoy .

    Hello,
    Check CCIHT* under se16 and search for relevant information
    Thanks
    Jayakumar

  • I need to know the user who has created/modified a SAP Bex Query and WAD

    Hi!
    I need to know the user who has created and modified a SAP Bex Query and SAP  Web Application Designer. Does it possible to know this information by a table or view?
    Best Regards
    Ramon Sanchez

    Hi,
    In BEx query, when you click "Queries" to open the query, the list of queries are displayed. Highlight the query, click on the "Properties On/Off' icon(right most on the top), you would see all the details.
    In WAD, before opening the template, click on "Properties On/Off'" icon to see the details.

  • I need to know the right tools and java technology

    Please help,I need to know the right tools and java technology to support what I need.
    I had background programming in Assembly,C++,Visual Basic,SAP/ABAP 4.
    All I can say, programming is about logic, now we are very helped building program using objects.
    I'm very interest to SAP tech, where all screens, programs, reports are resides on tables, this is the real dynamic!
    CUrrently I'm eager to do the same technic with java. I'm new to java....
    What I know the J2EE is the core for me to start is it right? I was very interest with the Client-Server Tech. How can I impelemet this with Java?
    I'm a bit confuse with so many java solutions. There is Java Applets, Swing, Java AWT, JavaBeans, etc...
    I don't know what is the best if I want my Presentation/Client Application will run within browser (not standard html, using like windows gui). What should I do to make business logic objects, how to invoke it within the gui. how to make installation package whenever clients connect to the http server.
    if you have a pointer to do it please let me know.... I'm very appreciate all your response...
    Best regards,
    Lucky Pangemanan

    I'd say - don't get carried away with the heavyweight frameworks. Don't use EJB if Hibernate and/or Tomcat will do the job. There's a danger of winding up using a bulldozer to crack a wallnut.
    What people mean by "J2EE" varies a fair bit.
    Start with Tomcat, which has the virtue of being free. Try some JSPs and servlets.
    Use Applets to do client side presentation only if you must; Applets create an installation overhead on end-users, and some of them can't cope, while others may not have the necessary installation permissions on their office machines. They are pretty rarely needed, IMNSHO, most client-side behaviour is better handled with html and JavaScript.

  • I need to know how I will create a dynamic website using php and mysql

    I need to know how will I create a dynamic website using php and mysql that people could have the abilities of registering in the website, and modify their profile where they can add their pictures and everything. apart from that, they should have the ability to search about other member. hope to here more from you.

    If you are a right-brained creative, and have no previous experience or propensity to be able to understand coding and database "stuff", and/or if your time can be better spent on other skills, I recommend you save your sanity and hire a developer... or at least the first time around. I have been attempting to grasp this for years... and have a library of marked up books to prove my efforts, all while trying to keep up with an ongoing client base that is always cramped. It's a wonder I still have my sanity... then again, I might not be the best person to determine that. Others might question it.
    That said, I still plan to master php... one of these days.

  • Need to know the list of values (default one) for PAYMENT_STATUS

    we need to know the list of values for PAYMENT_STATUS in IBY_PAYMENTS_ALL
    (R12)
    presently the payment_status shows as follows.
    SELECT DISTINCT PAYMENT_STATUS FROM
    iby_payments_all
    PAYMENT_STATUS
    FORMATTED
    INSTRUCTION_CREATED
    REMOVED_INSTRUCTION_TERMINATED
    REMOVED_PAYMENT_STOPPED
    REMOVED_REQUEST_TERMINATED
    simillerly,
    Need to know the list of values for PAYMENT_INSTRUCTION_STATUS in IBY_PAY_INSTRUCTIONS_ALL
    (R12)
    PAYMENT_INSTRUCTION_STATUS
    CREATED
    CREATED_READY_FOR_PRINTING
    FORMATTED
    FORMATTED_ELECTRONIC
    PRINTED
    TERMINATED

    There is nothing called "service packs" for an Oracle database. That is an MS thing.
    I guess you mean patchsets which are available in Metalink as mentioned.

  • HT201250 I have done my back up using time machine, now I have a new mac and I need to access the files that I had saved from my old mac. How can I do that?

    I have done my back up using time machine, now I have a new mac and I need to access the files that I had saved from my old mac. How can I do that?

    Use Migration Assistant on your new Mac:
    Click Continue:
    On the next screen, choose your Time Machine backup disk.
    Don't bother to migrate Applications unless you know they will work on your new Mac. For example, PowerPC applications won't work. Just migrate your user account which will copy all your photos, music, movies, and other documents.
    Note: you will not be able to migrate the information to same account in which you are already logged in. Migration Assistant will tell you that and recommend what to do. It can migrate the information to a new account, but you will have to give it a name you might want to change later. One way around this is to create a temporary account, log in to it, and run Migration Assistant which will replace your normal account. Then, log out of the temporary account, log in to your usual one, verify everyting works as you expect, and delete the temporary one.
    All this can be avoided when you set up a brand new Mac by running Setup Assistant which essentially does the same thing to create your new account, but most people are too excited to do that and elect to migrate later.

  • I need to know the multitude of reason why my iPhone 5s would prompt me for my Apple ID password. Please help.

    I need to know the multitude of reason why my iPhone 5s would prompt me for my Apple ID password.
    All I did was place my phone on the charger, I then walked away for 10-15mins and when I came back it was asking me to enter my Apple ID password.
    I never gave my password out to anyone ever and hardly anyone knows my email address.
    I haven't recently downloaded anything either and I only have one apple device which is my iPhone 5s.
    I just want to know really if it could have been because someone was trying to log into my Apple ID?
    Please help with multiple reasons why this could have happened. I just want to know the options. Thank you

    My iPhone 5s did the same thing yesterday. I have iCloud backup turned on in Settings > iCloud > Storage & Backup and that means it will automatically do a backup when the phone is plugged in, locked and connected to wi-fi. I had it charging and when I returned it was asking for the password and the prompt did identify that it was requesting it for the iCloud backup (something you may not have noticed if you didn't look closely).
    It has never done that before and 2 iPads in my household have not yet done it. All are on iOS 7.1
    I have found a report of the same issue by a user of the 7.1 beta and in that case it was happening every day. In my case I entered the password then went to the same area in Settings as above and used the "Backup Now" button to do a backup. I will see tonight when I charge again whether this is going to be an every day problem.

  • Need to know the sqluery to find the disabled date from OIM 9.1.0.1

    Hi Experts,
    Need very urgent inputs from you all for the preparation of our audit.
    We are using OIM9.1.0.1
    We need to know the sqlquery for finding the Disabled date in OIM given the user ids, as currently we are unable to get the exact data from Historical Reports Option in OIM.
    I need to give in this format:
    select usr_login, usr_disabled from schemaname.tablename where usr_login in
    ('aaa','bbb'..... etc)
    We have three attributes :USR_DISABLED_BY_PARENT,USR_DISABLED,USR_DEPROVISIONING_DATE,but none of them give the exact date,
    USR_DISABLED gives just a flag as 1 or 0.
    Also there are no other fields in the corresponding usr table.
    So how to fetch the exact Disabled date from OIM system when I input the user ids.
    Your immediate response is appreciated.
    Thanks
    SS

    In the entire thread many experts have given nice queries in different formats...
    The best approach would be to open up the SQL Developer, connect with the OIM Database and experiment with all sorts of SQL queries provided by all the experts..
    Learn some SQL techniques, like Inner Join etc...
    Then you yourself will be able to figure out what you need, in exactly which format, for which users and for whom you have to restrict
    Then not only this question, you would be able to solve dozens of similar such issues yourself...
    And trust me, nothing can match that...
    Just in case, you are not familiar with SQL Developer,
    http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
    Oracle SQL Developer 3.2.1 (3.2.10.09.57)
    September 24, 2012
    The Disabled DATE will be the creation date of that entry in the UPA_FIELDS table when Users.Status changed to Disabled.
    SELECT USR.USR_LOGIN, UPA_FIELDS.CREATE_DATE
    FROM UPA_FIELDS
    WHERE UPA_FIELDS.FIELD_NAME='Users.Status'
    AND UPA_FIELDS.FIELD_NEW_VALUE='Disabled'
    AND UPA_FIELDS.UPA_USR_KEY=USR.USR_KEY
    AND USR.USR_LOGIN NOT IN ('XELSYSADM', 'XELOPERATOR', 'WEBLOGIC');

  • I need to know the location where iTunes downloads software to, it is filling up my hard drive.

    I need to know the location where iTunes downloads software to, it is filling up my hard drive.
    I am trying to put my iPhone4 into recovery and then will restore it. iTunes starts extracting the software.  But the iPhone reboots and by the time the software has completed extraction, the iPhone can no longer be seen by iTunes. 
    We have a very small hard drive on our laptop.  Each time iTunes does an extraction, it uses up more space on the C: drive. 
    Nothing frees up that used drive space. Not closing iTunes or rebooting the computer. Nothing. 
    How do we release / delete these files?

    See Re: when itunes downloads ipsw where does it go.
    tt2

  • My MacBook was stolen and I need to know the MAC address

    An emergency question to Apple support. My MacBook was stolen and I need to know the MAC address of its network card. I have a receipt with the serial number of my MacBook. Can you assist?
    My serial: W8***66D
    Thank you
    p.s Any ideas how I can find it?

    Report the theft to your local authorities.
    Apple has no means of tracking thefts, as thieves themselves may claim the machine is theres just by looking up the information on the computer, and unless you registered the machine, it is really their word against yours, unless you also have receipt or other information that they can track to your receipt against your serial number.
    Your homeowners insurance may be able to recoup the cost.
    In the future, consider getting Lapcop, or Lojack for notebooks.
    Good luck!

  • Im about to make a trip to the USA and i need to know the price of an iphone 4s 64GB unlokced please in order to carrie the amount of dollars

    Im about to make a trip to the USA and i need to know the price of an iphone 64GB unlokced please in order to carrie the amount of dollars

    "Same as what? "  US of course.
    So the price of an iPhone in the U.S. is the same as the price of an iPhone in the U.S. ?
    Okay.
    tymcziszyn asked how much an iPhone in the U.S. would cost. Nothing was mentioned about comparing the cost (which you seemed to be attempting to do but your post was a bit short.).
    You really meant that the price of an iPhone purchased in the U.S and then paying import duties and VAT when taking it home would (likely be close to the) same price as if purchased in his home country.
    and what if his home country does not sell the iPhone?
    I understood what you meant but OP may not be native english speaker (though he seems to do well here) so making sure they get the entire message clearly may help.

  • Need to know the path of current Form/Report

    Hi All,
    I need to know the path of the Current Report/Form, but i dont want to use
    get_form_property(:system.current_form,file_name),
    is their any other way for getting the current path from where the report/form is running
    Imran Ahmed

    Hi,
    I dont want to use
    get_form_property(:system.current_form,file_name)
    because it give me the current directory with the form name for eg. (c:\dev6i\temp\abc.fmx) then i have to use
    cur_file_name := get_form_property(:system.current_form,file_name);
    total_length := length(cur_file_name);
    cur_form_name_length := length(get_form_property(:system.current_form,form_name))+4;
    path_length := total_length-cur_form_name_length;
    cur_path:= substr(cur_file_name,1,path_length);
    to get the actual path, and i dont find any function name GET_WORKING_DIRECTORY under WIN_API_ENVIRONMENT theie is get_windows_director and get_temp_directory but not the above, if you have that function then please mail me on [email protected] I also cannot use read_registry(forms_path) because in registry i have different paths.
    Thank You

  • Trouble creating a pdf converting Word doc ..."Could not find the application that created the file"

    Hello,
    I am working with Acrobat Pro 8 and am trying to create a pdf by converting a word doc. When I try that, I keep getting an error message, " Could not find the application that created this file...please select a file created by an application that resides on your computer." I can always convert a word into pdf first and then insert it into the pdf project that I am working on, however I have multiple files and I really would like to bypass that long step.
    I found another thread in this forum which talks about a simillar issue (http://forums.adobe.com/thread/429585).I tried the solution suggested there by Bill@vt regarding the print menu. I am not really sure if t have distiller installed, so I tried opening it in acrobat, but it failed. During the process, I got the follwing message "Check the Status column for a list of files that could not be printed".I do not have any clue how to check for AcroTray running in the background.
    I would really appreciate any help.
    Thanks!

    If Distiller failed to open, it sounds like you need to do a repair of your Acrobat installation. Have not heard that one before!

  • Need to know the jar file...?

    Hi,Iam writing an java program which is going to send messages to the remote websphereMQ server,program compiled successfully while in execution it throws error.The prgram is
    com/ibm/jvm/ExtendedSystem/*
    Use source code downloads, example commands,
    and any other techniques at your own risk.
    No warranty is provided.
    import java.util.Properties;
    import javax.jms.JMSException;
    import javax.jms.TextMessage;
    import javax.jms.Queue;
    import javax.jms.QueueConnection;
    import javax.jms.QueueConnectionFactory;
    import javax.jms.QueueSender;
    import javax.jms.QueueSession;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import java.util.Hashtable;
    public class Sender {
         String url_;
         String name_;
         QueueConnection conn = null;
         QueueSession session = null;
         Queue queue = null;
         public Sender(String url, String name) throws JMSException, NamingException {
              url_ = url;
              name_ = name;
             this.initializeSender();
         private void initializeSender() throws JMSException, NamingException {
         /*      Properties props = new Properties();
              props.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
              props.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming");
              props.setProperty("java.naming.provider.url", url_); */
              String icf = "com.ibm.websphere.naming.WsnInitialContextFactory";
              //String url="iiop://192.168.2.45:1421";
              // Initialise JNDI properties
              Hashtable env = new Hashtable();
              env.put("java.naming.factory.initial",icf);
              env.put("java.naming.factory.url.pkgs","com.ibm.ws.naming");
              env.put("org.omg.CORBA.ORBClass","com.ibm.rmi.iiop.ORB");
              env.put("org.omg.CORBA.ORBSingletonClass","com.ibm.rmi.corba.ORBSingleton");
              env.put("javax.rmi.CORBA.UtilClass","com.ibm.rmi.javax.rmi.CORBA.Util");
              env.put("javax.rmi.CORBA.StubClass","com.ibm.rmi.javax.rmi.CORBA.StubDelegateImpl");
              env.put("javax.rmi.CORBA.PortableRemoteObjectClass","com.ibm.rmi.javax.rmi.PortableRemoteObject");
              env.put("java.naming.provider.url",url_);
              InitialContext context = new InitialContext(env);
              QueueConnectionFactory qcf = (QueueConnectionFactory) context.lookup("QCF");
              conn = qcf.createQueueConnection();
              queue=(Queue)context.lookup(name_);
              session = conn.createQueueSession(false,QueueSession.AUTO_ACKNOWLEDGE);
              conn.start();
          public void send(String text) throws JMSException, NamingException {
              QueueSender send = session.createSender(queue);
              TextMessage tm = session.createTextMessage(text);
              send.send(tm);
              send.close();
         public void disconnect() throws JMSException {
              if(conn != null) {
                   conn.stop();
              if(session != null) {
                   session.close();
              if(conn != null) {
                   conn.close();
         public String getTopicName() {
              return name_;
         public String getTopicURL() {
              return url_;
         public static void main(String args[]) throws Exception {
              System.out.println("Starting JMS Example Sender");
                Sender sender = new Sender("iiop://192.168.2.45:1421", "ASMQUEUE");
                 System.out.println("Sending list of data");
                 sender.send("Krishna Moorthy");
                 sender.disconnect();
                      System.out.println("JMS Example Sender Complete - list sent");
    }During Execution followng error occurs,
    D:\jboss-4.0.5.GA\WebSphere_JMS>java Listener
    Starting JMS Example Listener
    performing lookup...
    Error creating listener: javax.naming.NamingException: Failed to initialize the
    ORB [Root exception is org.omg.CORBA.INITIALIZE: can't instantiate default ORB i
    mplementation com.ibm.CORBA.iiop.ORB  vmcid: 0x0  minor code: 0  completed: No]
    javax.naming.NamingException: Failed to initialize the ORB [Root exception is or
    g.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.ibm.COR
    BA.iiop.ORB  vmcid: 0x0  minor code: 0  completed: No]
    at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:293)
    at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(Ws
    nInitCtxFactory.java:365)
    at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:102)
    at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:40
    8)
    at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:131)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at Listener.initializeListener(Listener.java:78)
    at Listener.<init>(Listener.java:31)
    at Listener.main(Listener.java:112)
    Caused by: org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementatio
    n com.ibm.CORBA.iiop.ORB vmcid: 0x0 minor code: 0 completed: No
    at org.omg.CORBA.ORB.create_impl(ORB.java:297)
    at org.omg.CORBA.ORB.init(ORB.java:336)
    at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:77)
    at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:174)
    at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:98)
    at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:74)
    at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:386)
    at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:284)
    ... 8 more
    Caused by: java.lang.NoClassDefFoundError: com/ibm/jvm/ExtendedSystem
    at com.ibm.rmi.util.JDKBridge.setCodebaseProperties(JDKBridge.java:226)
    at com.ibm.rmi.util.JDKBridge.<clinit>(JDKBridge.java:205)
    at com.ibm.rmi.util.RepositoryId.<clinit>(RepositoryId.java:122)
    at com.ibm.rmi.iiop.CDROutputStream.<clinit>(CDROutputStream.java:1077)
    at com.ibm.rmi.corba.ORB.<init>(ORB.java:250)
    at com.ibm.rmi.iiop.ORB.<init>(ORB.java:166)
    at com.ibm.CORBA.iiop.ORB.<init>(ORB.java:521)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at org.omg.CORBA.ORB.create_impl(ORB.java:295)
    ... 15 more
    Done listening
    In my application classpath following jars are used : jms.jar,naming.jar,namingClient.jar,ibmorb.api,ibmorbapi.jar,jndi.jar
    I need to know the jar file name for this class : com/ibm/jvm/ExtendedSystem.And also tell me the solution to solve the above error.Anyone know the solution please reply as early as possible..Thanks in advance

    Have you checked if any of the jar files in your class path contains the missing class ?

Maybe you are looking for

  • Preset panel in develop module is missing

    I have lightroom 2.2. Somehow, I accidently removed the preset panel from the develop module and I can't figure out how to restore it. Any help would be greatly appreciated.

  • Conditional Chart Title

    Is it possible to have part of the title of a chart be conditional? For example: <Title text="Term: {STRM_DESCR}, Class: {SUBJECT_DESCR} {CATALOG_NBR}, Section: {CLASS_SECTION}, Course Title: {DU_CRSE_TITLE} Combined Section:{SCTN_CMBN_DESCR}" visibl

  • Printed material does not align as I want

    I'm not sure whether this is printer problem or if I've not set something up correctly- I typed a letter on WordPad with a left alignment. But when I printed it, sentences were broken up with 2 or 3 words of the sentence finishing on the next line. I

  • What is considered 'new' in the iTunes bookstore?

    Last week, all three of my ebooks were accepted and I can see them on the iTunes Bookstore, but only when searching specifically for their names or authors. I would expect to see them in the 'new' category as well, but they're not listed. Does anyone

  • Itunes is asking for extra id info, itunes is asking for extra id info

    i am trying to rent films and itunes is asking for extra id info like what was the first car i bought or who was my first teacher and i havent a clue - anybody out there that can help me?