Can an object know it's creator?

Can an object determine which object created it? That is, which object called the constructor that brought it into existence? (without passing this in as a parameter to the constructor).

ps, why do you need to know this? isn't that thevery basic??
Should have explained that. I am writing a set of
helper classes that will always be used by applets.
Sometimes the helper class needs to know something
g about the applet, such as it's width etc. Rather
than pass in a ton of stuff in the helper class
constructor, I was wondering if I could just reach
back into the creating applet and fish it out myself
from inside the helper class.
Not sound practice perhaps, but in this case I know
fershure that its an applet that is the creator.
Passing this to the constructor works. In the
helper, if the param name is 'creator' you can then
say creator.getSize().width; or
somesuch. Just wondering if there was a call to the
system to get the parent object. (like you can in
Javascript for example).You can create a singleton which has a reference to the applet. The helpers would then just use the singleton to get hold on the information.
/Kaj

Similar Messages

  • Can Business Object Universe be used with other BI Tool

    Post Author: help_eachother
    CA Forum: Semantic Layer and Data Connectivity
    Hi,
    Can Business Objects Universe be used with other BI tool ?
    Thanks

    Post Author: amr_foci
    CA Forum: Semantic Layer and Data Connectivity
    like wat tools...
    i heared in an oracle session that their business intelligence system would be able to connect to other business intelligence system ex, business objects
    but i dont know how it works,, or even anything about oracle BI
    good luck

  • Error 1074388947 at CAN Open Object, Exceed resource limit

    Dear All,
    Basically, I'm listening to 5 frames from NI-CAN, and I can't listen to the sixth...
    To be more precise, I'm listening to STAT1, STAT2, EXT1, EXT2 and I'm sending commands to CMD.
    When I try to add a "hearing" on the BITE frame, I obtain the error:
    "1074388947 occured at NI-CAN Open Object (ncOpen.vi)
    NI-CAN: Exceeded resource limit for queues in shared memory between firmware/driver. The ncReadmult function is not allowed. Solutions: Decrease queue lengths in objects; Set read queue length to at least 2; Decrease number of CAN Objects."
    I can't see any significative parameter to change...
    I'm doing a ncConfigCANNET + ncOpen + ncSetAttr, then for each frames: ncConfigCANObj + ncOpen + ncSetAttr + ncCreateOccur.
    That's when I'm adding the sixth frame's part, I get the error at the output of the ncOpen.
    Does someone knows what's happening ?
    Thanks for any help you could give me, even if it's just a thought... Thanks in advance ! I'm quite desperate actually...
    Laurent

    Hi,
    This is a KB wich could help.
    http://digital.ni.com/public.nsf/allkb/CC36BA1DD421EC23862569060054F6E2?OpenDocument
    .NIDays2008 {font-family:Arial, Helvetica, sans-serif; font-size:12px; color: #065fa3; font-weight: bold; text-decoration: none; text-align: right;} .NIDays2008 a, a:hover {text-decoration: none;} .NIDays2008 a img {height: 0; width: 0; border-width: 0;} .NIDays2008 a:hover img {position: absolute; height: 90px; width: 728px; margin-left: -728px; margin-top:-12px;}
    >> Avez-vous entendu parler de NI Days ?

  • How can store object in LDAP

    How can store object in LDAP?please give one example

    Hi,
    I read the book , LDAP programming with Java , it has the description about how to write
    java object into the LDAP server. but its server is Netscape server. By different vendor,
    I think that they may have different method about your question. You may reference your
    developer document for this question. Perhaps you need to know what its schema is,
    how to load its .ldif file into server(case in the book), how to read/write java object to the
    server.
    Or in the book, JNDI API Turtorial and Reference Building Directory-Enabled Java Applications,
    it also illustrates how to bind a java object to the LDAP server via JNDI. But it is just focus on
    the API part, not configuration.
    good luck,
    Alfred Wu

  • A program that can rotate objects

    Is there any done program that can rotate objects from graph?
    I am not a programmer I just need to use that for mathematics.
    Any help will be appreciated.

    I'm not sure what you are asking for. You can rotate an image with [url http://java.sun.com/j2se/1.4.2/docs/api/java/awt/geom/AffineTransform.html]AffineTransform. You can look at the source for it in src.zip. You can [url http://onesearch.sun.com/search/developers/index.jsp?col=devforums&qp_name=Algorithms&qp=forum%3A426&qt=rotate]search for algorithms.

  • Can any one know how do restrict that fields in mm

    hi gurus
    can any one know how do we restrict the fields in the material master.  Where do we control  do any one know the transaction code for that.
    Thanks in advance

    OMSR
    and
    OMS9
    Help for OMSR
    Assign Fields to Field Selection Groups
    To define whether a field is hidden or displayed, or whether an entry is mandatory or optional in material master maintenance, you must assign the field to a field selection group. You may assign a field to one field selection group only.
    Before including customer-defined fields in a field selection group together with standard fields, or assigning standard fields to a different field selection group, familiarize yourself with the assignment of fields to field selection groups in the standard R/3 System.
    Standard settings
    The values of the field selection groups have been preassigned as follows:
    001-110 Material master for industry
    111-120 Reserved for customers (except where the values are already in use)
    121-150 Material master for industry
    151-210 Material master for retail
    211-240 Reserved for customers
    Recommendation
    If possible, use the setting in the standard R/3 System. No further action is then required. If you want to make individual fields inaccessible, the easiest way is to group them together in a single field selection group and to set it to Display or Hide.
    Activities
    1. Check the setting in the standard R/3 System.
    For this, you need to know the data screen on which the relevant field appears in the material master, and the name of the screen field, for example, MARA-MEINS in the case of the base unit of measure.
    2. If necessary, change the assignment of fields to field selection groups as required.
    Further notes
    In the case of long texts, you define whether the entire screen is hidden or displayed, or whether entries are mandatory or optional. For this reason, each screen has been assigned to one of the following dummy fields:
    LTEXT_BEST Purchase order text
    LTEXT_GRUN Basic data text
    LTEXT_IVER Internal comment
    LTEXT_PRUE Inspection text
    LTEXT_VERT Sales text
    help for OMS9
    Maintain Field Selection for Data Screens
    In this IMG activity, you create and maintain field references. You can see where a field reference is used by choosing Where-used list.
    Activities
    Define or change the field references as required (except for field references with the prefix SAP which must not be changed). New field references must begin with Y or Z.
    Changing the Field Selection Options for a Field Selection Group
    1. Specify the field selection group.
    2. Select the field selection option (hide, display, required entry, or optional entry) for each field reference as required.
    3. Save your data.
    Creating a Field Reference
    1. Choose New entries.
    2. Specify a field reference beginning with Y or Z.
    3. Select the field selection option for each field selection group as required.
    4. Save your data.
    Changing a Field Reference
    1. Double-click the relevant field reference.
    2. Change the field selection option for each field selection group as required.
    3. Save your data.
    reward if usefull
    Message was edited by:
            Umakant Bhangale

  • OK , I have my instructional coaches creating power point presentation add audio to each slide with the presenter 10 add ins. I need these presentation converted into MP4 like you can do with adobe presenter video creator.

    Love the Adobe products first. OK , I have my instructional coaches creating power point presentation add audio to each slide with the presenter 10 add ins. I need these presentation converted into MP4 like you can do with adobe presenter video creator.

    If you import the PPT deck into Captivate it will not bring the audio from Presenter. But you can import it into Captivate after the slide deck has been imported. The audio files aren't necessarily named in a logical fashion in the source files for the presentation, so I would recommend that you publish the presentation locally and then find the 'data' folder in the published output and the audio files will be named in a way that you can infer the slide they are associated with. Not the simplest proceedure but it should be pretty painless.

  • Can Business Objects Web Intelligency reports access NearLine Storage data Via BW Bex Query

    Hi Gurus,
    I am aware BEX queries can access NearLine Storage data for reporting but can Business Objects Web Intelligency reports access NearLine Storage data Via BICS connection ( Bex Query as a Source).
    Thanks,
    Shak.

    I would recommend to let your SAP Basis guys do a security trace on the SAP BW side and see if some authorization check for the user fails when trying to fetch data over the universe.
    Regards,
    Stratos

  • I am trying to find a number I called and text back in Feb of 2015 I am having trouble I know you can does anyone know how to and can provide step by step?

    I am trying to find a number I called and text in Feb of 2015? I know you can does anyone know how and can give me step by step instructions?

    See if this helps:
    Re: How can i retrieve sent texts/calls?

  • Satellite A300 - I can't find the recovery disk creator

    Hi everybody!
    Need some help with my Satellite A300. I lost the optical recovery disc I burned when the laptop was new. Now when I'm trying to burn a new recovery disc I can't find the Recovery Disc Creator - not on the desktop or in the Start meny. I still have the folder with all the recovery files left - a folder named HDDRecovery with size 4.5 GB. The problem is to find out how to burn the disc.
    Can anyone help?
    //iMate, Sweden

    Hello
    F8 will works just if you didnt change anything with first partition and if you still use factory settings.
    "Toshiba Recovery Disc Creator" cannot be gone for no reason. Either you have removed it from the system or you have installed own Vista OS.
    I don't want to speculate why you cannot use F8 anymore but fact is that for new Vista installation you need recovery DVD.
    You can order one under https://backupmedia.toshiba.eu/landing.aspx

  • Reset CAN Network Object using NI-XNET

    This post
    http://forums.ni.com/t5/Automotive-and-Embedded-Networks/How-can-I-reset-a-NI-CAN-network-object-wit...
    mentions that there is a better way to reset an NI CAN network object using the NI-XNET API. Can someone please share how to do this using XNET? What's the equivalent of ncReset in XNET?
    Thanks.

    Sima,
    Unfortunately, XNET does not have an implementation of a board reset.  There certainly are cases in which one would be useful, so you can always fill out a Product Suggestion.  If you do decide to do that, which I definitely encourage you to do, be sure to include as many specifics about the scenario as you can to show that you really do need a board reset and not just an XNET clear.  Hopefully this feature will get implemented in the future with this feedback, and I'm sorry there isn't a better solution right now.
    Best,
    Jen W
    Applications Engineer
    National Instruments

  • HT5312 when i create my apple id i didnot enter rescue email address or i forget it so what can i do know if i forget my security questions?

    when i create my apple id i didnot enter rescue email address or i forget it so what can i do know if i forget my security questions?

    You will need to contact iTunes Support / Apple to get your questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset you can then use the steps half-way down the HT5312 page that you posted from to add a rescue email address for potential future use

  • How can the client know if the SSL certificate specified in the service-config.xml file is invalid/u

    Hi,
    How can the client know if the SSL certificate specified in the service-config.xml file is invalid/untrusted/expired? For example using iOS client, the trusted certificate will not work and the client has no way to know that the certificate is untrusted. Can the lcds server return any specific exceptions for SSL errors?
    Thanks,
    Swathi.

    We use a standard Java keystore and certificate validation can be handled as per standard best practices. At present we do not provide a hook point to validate the server certificate. However, you can register a bootstrap service which validates the certificate on system startup: http://help.adobe.com/en_US/dataservicesjee/4.6/Developing/WSc3ff6d0ea77859461172e0811f00f 6fe7f-7ffeUpdate.html This would require you to pass another copy of the keystore configuration to you Bootstrap service and then you can inspect the certificate in the keystore and validate it.

  • For accident I uninstall creative cloud and now I want to installed again and it appears error code 86 what can I do know?

    For accident I uninstall creative cloud and now I want to installed again and it appears error code 86 what can I do know?

    Belen Ochoa where are you receiving Error 86?  During the installation process for the Creative Cloud Desktop application?  If so which software firewall are you utilizing?

  • Can any one knowing how do you trouble shooting in alert config

    Hi,
    in my scenario i am using alert configaration..but i am not able to find the errors ..but error are there.can any one knowing how do you trouble shoot in alert config
    thanks for rply..

    Hi,
    XI CCMS Alert Monitoring : Overview and Features                              
    XI CCMS Alert Monitoring : Overview and Features                              
    Triggering XI Alerts from a User Defined Function                              
    Triggering XI Alerts from a User Defined Function                              
    Alert Management - the Ideal Solution for Monitoring Your System                              
    Alert Management - the Ideal Solution for Monitoring Your System                              
    Thanks,
    Madhu
    Edited by: Madhu sudhan Reddy on Jul 24, 2008 12:07 PM

Maybe you are looking for

  • Any ETA on Flash 10 for Windows 64 bit browsers?

         With the release of Windows 7 just 3 months away, I'm hoping that Adobe is close to at least a beta version of Flash 10 for 64 bit browsers.  I know they've released the Flash 10 for Linux 64 bit platforms, but they seem to be behind on this.  W

  • In need of a mac wiz-who knows something about external displays

    Hello... I posted yesterday about my LG 19" Flatron LCD Monitor. I see that people have read the post, but no one seems to have an answer. Therefore, I thought I would ask again. I called apple support twice, but since my apple care expired a while b

  • DWH data loading techniques

    Hi,  I am almost new in DataWareHousing I have two DB s application and DWH ,  now I can easily load the data from APP to DWH, those db s are in the same hosting Now,  I need to load the data from live DB to DWH which is in another hosting. I am thin

  • HT5622 error sign in my apple id

    why i can't use my apple id ? it say that " your apple id has not yet been used with the iTunes Store" .

  • COPA Datasource Configuration

    Hi Experts , While configuring COPA Datasource for Transaction Data ,I am getting an error message stating "0ADMNSTRTN assigned to several fields of the Datasource * " So its not allowing me to proceed .How do I fix it ? Any help ! With regards