Reflection - class.getConstructor question

package my.util;
class Test {
String s;
int i;
public Test(String s, int i){}
I want to do the following
Class c = Class.forName("my.util.Test");
Constructor con = c.getConstructor(new Class[] { String.class, int.class});
Test t = con.newInstance(new Object[] {"al",5});
The above obviously won;t compile because I can;t pass primitives to the object array at the time of creating the instance and I cannot do int.class when getting the
constructor. How do I then use reflection to achieve the
above..?

The above obviously won;t compile because I can;t
pass primitives to the object array at the time of
creating the instance and I cannot do int.class when
getting the constructor.you can use int.class. this allows you to distinguish between constructors which accept primitive int versus those which might accept the java.lang.Integer type. but to populate the object array of actual arguments to the reflective invocation, you should wrap primitives in their corresponding wrapper type, e.g. int --> java.lang.Integer, char --> java.lang.Character, and so forth.
good luck,
p

Similar Messages

  • Class.getConstructor().newInstance()  problem!!

    Hi all,
    I would like to dynamically create an object using the Class.getConstructor(). newInstance() methods. I store the constructors in a hashtable, and dynamically decide which constructor to call at runtime.
    But now I am facing a problem of casting my results. It always return a java.lang.Object, and I'll have to explicitly cast it into the desire class.
    Is there any way to avoid these static casting problems? I have the required class name passing dynmically, but now I cannot even compile due to the static casting error..
    thanx.

    Hello,
    The purpose of reflection is to be able to manipulate classes and objects dynamically. Therefore, logically (in the application that you have described ) you would be potentially dealing with different classes. However, it is recognized that you need to invoke some method. My suggestion would be to implement an interface (as you will potentially not know the class) or use the Method (of a particular signature and name) object to invoke it. Static casting goes against the grain of dynamic creation.
    Ironluca

  • Reflection class isn't reflecting

    i've added this reflection class
    http://www.adobe.com/devnet/flash/articles/reflect_class_as3.html
    to this simple .fla file, but i can't see any reflection
    http://www.5y1.com/px02.zip
    thank You for your help

    quote:
    Originally posted by:
    NedWebs
    You're not likely to get people to research your links and
    files for you. If you can describe what steps/code you implemented
    you'll stand a better chance of getting some help.
    The file i've created is so simple that reading how i've
    added the reflect class is just a waste of time

  • Question about "java.lang.Class.getConstructor(Class... parameterTypes)"

    Constructor<T> getConstructor(Class... parameterTypes)
    If i want to get the non-parameter Constructor?
    How can i do?

    Hint: varargs (Class...) can take any number of arguments, including zero.

  • Reflection Class question

    Hello,
    I have an xml gallery and I am trying to add reflections to the images. Is there a way I can add the reflections to a loader? Or what do I have to do?
    If I can't and I have to make a mc to do this I am not sure what to do. Can someone please help me?
    Here is my current code:
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    import com.pixelfumes.reflect.*;
    var xmlRequest:URLRequest = new URLRequest("imageData.xml");
    var xmlLoader:URLLoader = new URLLoader(xmlRequest);
    var imgData:XML;
    var imageLoader:Loader;
    var rawImage:String;
    var rawH:String;
    var rawW:String;
    var inTween:Tween
    var outTween:Tween
    var imgNum:Number = 0;
    var checkSec:Timer = new Timer(100);
    var numberOfChildren:Number;
    var imageReflect:Reflect
    xmlLoader.addEventListener(Event.COMPLETE, xmlLoadedF);
    btnNext.addEventListener(MouseEvent.CLICK, nextImgF);
    btnBack.addEventListener(MouseEvent.CLICK, prevImgF);
    btnNext.buttonMode = true;
    btnBack.buttonMode = true;
    function xmlLoadedF (event:Event):void{
         checkSec.start();
         checkSec.addEventListener(TimerEvent.TIMER, checkerF);
         imgData = new XML(event.target.data);
    function packagedF():void{
         checkSec.removeEventListener(TimerEvent.TIMER, checkerF);
         rawImage = imgData.image[imgNum].imgURL;
         numberOfChildren = imgData.*.length();
         rawW = imgData.image[imgNum].imgW;
         rawH = imgData.image[imgNum].imgH;
         imageLoader = new Loader;
         imageLoader.load(new URLRequest(rawImage));
         master_mc.addChild(imageLoader);
         imageLoader.x = (stage.stageWidth - Number(rawW)) /1.65;
         imageLoader.y = (stage.stageHeight - Number(rawH)) /5;
         inTween = new Tween(imageLoader, "x", Regular.easeInOut, 1500, (stage.stageWidth - Number(rawW)) /1.65, 1.5, true);
         imageLoader.scaleX = .8;
         imageLoader.scaleY = .8;
    // this next line is the one that I am having a pickle over - where it says "??". I know its supposed to be mc but I am trying to not use mc.
    imageReflect = new Reflect({??:imageLoader, alpha:50, ratio:50, distance:0, updateTime:0, reflectionDropoff:1});
    function checkerF(event:TimerEvent):void {
    if (imgNum == 0) {
    packagedF();
    }else if(imgNum < numberOfChildren) {
    packagedF();
    }else{
    imgNum = 0;
    packagedF();
    function nextImgF(e:MouseEvent):void {
    checkSec.addEventListener(TimerEvent.TIMER, checkerF);
    outTween = new Tween(imageLoader, "x", Regular.easeInOut, (stage.stageWidth - Number(rawW)) /1.65, -1200, 1.5, true);
    imgNum++;
    function prevImgF(e:MouseEvent):void {
    checkSec.addEventListener(TimerEvent.TIMER, checkerF);
    outTween = new Tween(imageLoader, "x", Regular.easeInOut, -1200, (stage.stageWidth - Number(rawW)) /1.65, 1.5, true);
    imgNum--;
    Also the nextImageF works just fine but the prevImageF load both the previous image and the next - AT THE SAAAME TIME! What's up with that? - Do you know?
    Thanks for any help!

    Well, you could add a MovieClip that would host your Loader instance, and once loading is complete you could apply the refection to the host MovieClip.
    Something like this:
    var imageLoaderHost:MovieClip;
    function packagedF():void{
    checkSec.removeEventListener(TimerEvent.TIMER, checkerF);
    rawImage = imgData.image[imgNum].imgURL;
    numberOfChildren = imgData.*.length();
    rawW = imgData.image[imgNum].imgW;
    rawH = imgData.image[imgNum].imgH;
    imageLoaderHost = new MovieClip();
    imageLoader = new Loader;
    imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadCompleteHandler);
    imageLoaderHost.addChild(imageLoader);
    master_mc.addChild(imageLoaderHost);
    imageLoader.load(new URLRequest(rawImage));
    imageLoaderHost.x = (stage.stageWidth - Number(rawW)) /1.65;
    imageLoaderHost.y = (stage.stageHeight - Number(rawH)) /5;
    inTween = new Tween(imageLoaderHost, "x", Regular.easeInOut, 1500, (stage.stageWidth - Number(rawW)) /1.65, 1.5, true);
    imageLoader.scaleX = .8;
    imageLoader.scaleY = .8;
    function loadCompleteHandler(event:Event)
      imageLoader.contentLoaderInfo.removeEventListener(Event.COMPLETE, loadCompleteHandler);
      imageReflect = new Reflect({mc:imageLoaderHost, alpha:50, ratio:50, distance:0, updateTime:0, reflectionDropoff:1});

  • Error getting Constructor[] from class.getConstructors()

    Hi,
    I am trying to use java.lang.reflect package as under:
    import java.lang.reflect.*;
    import java.lang.reflect.Constructor;
    public class reflects1
    public reflects1(String str) {
         System.out.println("string constructor");
    public static void main(String args[])
    String name = args[0];
    System.out.println("classname is:" + name);
    try {
    Class cls = Class.forName("reflects1");
         Class[] param1 = {String.class};
    Constructor const = cls.getConstructor(param1);
         } catch (Exception ex) {}
    I always get following two compilation errors:
    1) Invalid Expression Statement: Constructor[] const = cls.getConstructor(param1);
    2) ; expected, Constructor[] const = cls.getConstructor(param1);
    Please let me know if you see any problem with this statement.
    Thanks.

    You seem to be mixing getConstructor and getConstructors, which are two separate methods, only the latter returns an array.

  • Class heirarchy question

    This beginning of this post sounds similar to another of my recent posts. The end question is different. I'm just providing the atmosphere for the situation
    I am coming from a c++ world into objective-c++/cocoa. I work for a company that sells static libraries to be used by other developers. Distributed with these libraries are, of course, the header files.
    Currently, I am tasked with adding cocoa support to out library. I am using a subclass of NSOpenGL (we'll call it myNSGL) to render to. For proof of concept, I placed the rendering code in the instance methods of myNSGL, and called them from my controller class. This all works fine, able to render, and so on...
    Now, I need to move this rendering code from the myNSGL class to inside our static library, abstracting it from the end user. This is where I have some questions.
    In the class myNSGL, I am overriding the initWithFrame method. It creates an NSOpenGLPixelFormat then calls [super initWithFrame: pixelFormat:]. Fine, no problem. Here is the problem. I want to move all custom code (setup, rendering, etc...) inside the static library and only provide client developer with the h and mm files (In IB, they'll need to set the View's class to myNSGL). My question is, How can I initialize myNSGL's super class from inside my lib code? This call is vital, but I don't want it exposed to the client developer. Maybe this will help to visualize:
    // Client Application code:
    // client.h:
    #include "myNSGL.h"
    @interface ......{
    myLib *_mylib;
    IBOutlet myNSGL *_mynsgl;
    // client.mm:
    #import "client.h"
    @implementation .......
    - (id)init{
    // use instance of my static lib.
    _mylib->initializeNSGL();
    // more calls to _mylib...
    @end
    // Static lib, lib.cpp:
    #include "myNSGL.h"
    class myLib{
    private:
    myNSGL* _mynsgl;
    NSOpenGLContext* _context;
    public:
    void initializeNSGL()
    GLuint attribs[] =
    NSOpenGLPFAWindow,
    NSOpenGLPFADoubleBuffer,
    0
    NSOpenGLPixelFormat* fmt = [[NSOpenGLPixelFormat alloc] initWithAttributes: (NSOpenGLPixelFormatAttribute*) attribs];
    // PROBLEM!!! can't call anything on myNSGL's super.
    [_windowRef [super initWithFrame:[_windowRef frame] pixelFormat: [fmt autorelease]]];
    //////////////////////////////////////////

    Your client developers shouldn't need any .mm files. All you should distribute are the headers and the library.
    What you need to do is separate the headers into a public interface and a private interface. The public interface should contain all a client should ever need to see, plus instance data. The private interface is implemented as an Objective-C category. Then, your .mm files will import both the public and the private interfaces.
    If you want to hide your instance data, that will be more work. You would have to use protocols or maybe dummy header files. You could maybe have a build stage that strips the data out of the headers and exports them into your framework. I don't know if that would work or not - probably not.

  • Class architecture question

    I am coming from a c++ world into objective-c++/cocoa. I work for a company that sells static libraries to be used by other developers. Distributed with these libraries are, of course, the header files.
    Currently, I am tasked with adding cocoa support to out library. I am using a subclass of NSOpenGL (we'll call it myNSGL) to render to. For proof of concept, I placed the rendering code in the instance methods of myNSGL, and called them from my controller class. This all works fine, able to render, and so on...
    Now, I need to move this rendering code from the myNSGL class to inside our static library, abstracting it from the end user. This is where I have some questions.
    I am compiling myNSGL into the static library. I would hope that providing ONLY the h file to the client application developer would be enough. There is a problem however. The client application will compile with the header and static lib, but at runtime it complains that interface builder doesn't know what myNSGL is. In IB, I have the view's class set to myNSGL, but without the myNSGL.mm file, interface builder is lost. The question is: Is there a way to distribute ONLY the lib and h file to customers (not the lib, h, AND mm file)?
    Thanks for reading

    Hi Zakk - I think this thread is going to need Etresoft, but I have a few questions.. and on the odd chance that one of them is relevant, you'll be ahead of the game to have the answers already posted by the time you get some more help.
    ... adding cocoa support to our library
    This line scares me so I'd like to rule out my worst fears before continuing. Please tell me the Cocoa support will be a separate binary, ok?
    I would hope that providing ONLY the h file to the client application developer would be enough.
    Yes, the header certainly should be enough. Otherwise, I don't think anyone would claim that Cocoa is object oriented. AFAIK a header is all we get to see of any Cocoa framework.
    at runtime it complains that interface builder doesn't know what myNSGL is.
    Erm.. IB doesn't have anything to do with runtime. So could you clarify that? If you're getting a runtime message about IB, please post it, ok?
    In IB, I have the view's class set to myNSGL, but without the myNSGL.mm file, interface builder is lost.
    AFAIK IB only reads the @interface files. I've been confused about this in the past when it seemed like IB was in fact responding to a change in the @implementation, but each time it seemed that way further testing showed I'd reached the wrong conclusion. Of course, if someone who wasn't a team player snuck a @interface into your .mm, all bets are off.
    In general, I would be sure the .h's were correctly included into the project and I would review some of the docs on building a Cocoa library. The easiest way to make sure Xcode is set up correctly would be to start the project with the OS X Cocoa Static Library template. I had a couple ADC links to post for you, but suddenly all my dev site links are broken. Let me know if you have any shortage of library docs.
    \- Ray
    p.s.: Just saw you already have Et's attention.

  • Reflection Classes with the same name

    Hi!
    I have a big problem with reflection. I want to reflect lots of stuff (methods, variables...) in a lot of classes with the same name immediately one after the other. It's like
    copy the file for the analysis to the right place
    do reflection and get results
    copy next file for analysis
    Important to note is, that all of the files that should be reflected have the same name.
    When I run the programm, he always only reflects the first file I gave for analysis, although I know the copying-stuff works and the new file would be there for analysis (but he does not seem to load/use it).
    Any ideas what i could do?
    Thanks!
    ET

    I'm not sure if i'm authorised to tell too much
    details, but i have to do some automated software
    analysis and therefore I need to know whats inside of
    a class and string search would not be appropriate.Why not ? What aspects of the class are you trying to examine ?
    They have the same name, because they are delivered in
    that form from a third party and it would be too much
    effort (and to much risk of errors) to rename them.Sure, if they're delivered as class files, you're unable to rename them. Without knowing more I can't advise you further.
    Why are you interested that much in that topic? Do you
    have to perform a similar task?No, I'm trying to determine if reflection is the right tool for the job. Frankly it doesn't sound like it is. But since you're not authorised to tell me more, I can't help you more.
    Dave.

  • Preloader and Document Class BIG question (yeap please help)

    Hy,
    I know that this its a question posted many, many times, but
    after searching the net, reading a lot of books and searching this
    forum too, I cant get out with a solution. If I'd say for sure
    there is no possibility to create something like this, I just go
    back to old methods but is not the scope of Adobe with AS3 to
    encourage the use of OOP principle or not?
    The problem:
    I have a single fla file (AS3) with a single frame on
    timeline, frame that its there when you will create the file with
    flash. In the library I have different symbols, that for simplicity
    are only jpg image, (BitmapData) checked for export for
    ActionScript and exported on frame one. An external .as file called
    DocumentClass its off course my Document Class
    This its all that I want to do with the fla, the goal its to
    create, animate etc. only with AS3 in external classes, no timeline
    script. I don't want to load external files, XML, or else in this
    movie. I just want a single swf after compilation, no additional
    files.
    Ok, how do I create a preloader that will take care of
    starting the logic after the whole swf its loaded and in the same
    time shows the user a percentage or a load bar or something that
    its not the blank screen when the swf its downloading. I want to do
    this without another swf that load this swf, or timeline scripts,
    or place all the content on second frame and then gotoAndStop to
    the third frame. All this are not solution but cheap tricks, that
    are against all this OOP principle that I just continue to read in
    books and here from guru programmers.
    The big question is:
    It is possible to create a preloader, when use a document
    class with your fla? And if yes, how?
    I know that the Document Class its not instantiated if its
    not fully loaded, if that's true when the document class will be
    fully loaded? maybe after the whole movie its loaded? And, if its
    true, it will never show a percentage bar "while" the movie its
    loaded. And if that's true WHY use a document class anyway?
    Thank you for reading this and I really wait to get some
    answer.

    I am pretty sure you cannot do self preloader with one frame
    and all the objects in the library. I guess the key here is
    one-frame design. Screen refreshes (renders) only when all the
    scripts in the frame are executed - this is a very important thing
    to understand about how Flash works. Yes, you can force screen
    refresh with updateAfterEvent() method but it is attached to a
    handful of events only (MouseEvent and TimerEvent) but, again, all
    this functionality is available only after first frame scripts are
    executed. Thus, it seems like the only way to create preloader from
    within SWF is to use multiple frames and set library objects to
    load in later (not first) frame.
    quote:
    And if that's true WHY use a document class anyway?
    Well, preloader is the last thing that would be on my mind in
    terms of using AS3 ability to link DocumentClass to the top movie.
    This feature allows for very sophisticated architectural
    approaches. It has no connection to preloader as to any other
    features developer wants to implement. Neither it depends on or
    negates timeline. As a matter of fact, although I love one-frame
    applications, I find on numerous occasions that my application
    would be more efficient if I used several (at least two) frames.
    gotoAndStop is not deprecated. It is a valid MovieClip class'
    method. After all, having only one frame doesn't mean not having
    frames at all - there is one already. Frames are fundament of
    Flash. AS3 did introduce frameless entities like Sprite, etc. but
    it doesn't mean that frames are going anywhere.
    I would agree that timeline code is inferior to
    classed/packaged (read: better organized) code but, still, how is
    it not OOP? Frame is an Object, right? Why using timeline is cheap
    and not a solution?
    On a side note, I see too many times how some authors (and
    managers) are pushing their agenda (or close mindedness) onto their
    audience with no real substantiation. Claiming that timeline in
    Flash is not valid architectural decision from OOP standpoint is
    totally wrong. As wrong as strict adherence to design patterns. I
    don't think there is sharply defined "right" or "wrong" in
    programming. One finds the best optimal solution. The goal is to
    create something that works fine. Unless, of course, the process is
    the goal - but very few of us can afford focusing on the process.

  • Document class import question

    I had wrote a previous post about output errors I was receiving when trying to load an xml photogallery. The error wer output errors only and ended up not effecting the swf (at least I didn't think so) after go ing nuts about a week I came across a post on another forum a few months back as someone else was asking the same question and it turns out someone else answered. It has to do with an external.as file, I know that the photogallery has other files that need to load besides the swf. the image, xml and a folder with 6 .as files.
    SO I know that I was not importing those files to the swf I was calling the photogallery to load into and I now understand this but here is my question.
    How do I import the 6 .as files as they sit in a folder called GS? Do I have to import each one separately thru the properties inspector?
    rder

    OK zip is here
    http://www.mediafire.com/?eqmiyit4yi5
    with the following files
    main.fla / swf
    folder swfs
    (inside)
    gallery1.fla,html,swf
    gallery2.fla,html,swf
    folder GS
    (inside)
    .as files various
    folder load1
    (inside)
    xml, images
    folder load2
    (inside)
    xml, images
    main.swf calls the loader
    problem:
    galleries open and function but with output errors
    I know it has something to do with importing the class paths .as files after each gallery is swapped out I should see an output message "gallery destroyed" but instead see null reference errors
    any help in resolving this would be great
    rdef

  • Classes intercommunication question

    hello folks,
    another newbie question:
    I have a JDialog with 3 components:
    pane with 2 JRadioButton's
    JButton,
    and JScrollPane with a JList in it
    elements of a Jlist are of my own class A and I am rewriting its toString() method, so elements of my class are correctly displayed in JList.
    Now here comes the question:
    this toString() method must depend on what JRadioButton is selected in a JDialog.
    how do I do it? should I send the JDialog reference to my Class constructor?
    thanks

    That's a pretty confusing question without any code to look at. My first reaction is to say to pass some argument (something unique about the JRadioButton that's selected) to your toString() method so it can choose what to return.

  • Class loader question

    Hi,
    I got NoClassDefFoundError and when I use ClasspathDebug jsp it shows that the class is loaded by "java.net.URLClassLoader". I put the jar file containing the class in <domain>/lib directory. According to docs the jar under <domain>/lib should be loaded by system class loader. what is "java.net.URLClassLoader"? why isn't system loader loading my class? I am using wls91. Thanks
    weblogic.servlet.jsp.TagFileClassLoader
    weblogic.utils.classloaders.ChangeAwareClassLoader
    weblogic.utils.classloaders.GenericClassLoader
    weblogic.utils.classloaders.GenericClassLoader
    java.net.URLClassLoader
    sun.misc.Launcher$AppClassLoader
    sun.misc.Launcher$ExtClassLoader
    Bootstrap classloader

    I'm not sure from reply 2 whether you figured out what's going on or not. It sounds like you did, but just in case...
    The null/primordial/bootstrap class loader loads classes in the core API--stuff it finds in the ext dir(s?) (e.g. rt.jar)--Object, String, java.util.*, java.sql.*, etc. It has no parent. It is the root of the normal delegating classloader tree.
    The system classloader is the one that uses classpath to load your classes and 3rd party classes. Everything not in the core API, as long as neither you nor those other classes explicitly specify a different classloader.
    The way the normal delegation mechanism works is that a request to load a class is first passed to the loader that loaded the current class. This loader first gives its parent a chance to load it, and so on up the tree to the primordial loader.
    Once it hits the root (null/primordial/bootstrap), that classloader tries to load it. If it can't (and the primordial loader can't, in fact, load your class, since it's not in the ext dir), then it hands it back to its child. This continues down the line, with the parent getting first shot at loading, then the child trying if the parent fails.
    The primordial loader (which loaded the JdbcOdbcDriver) can't load your class. It hands it back to its child--the system classloader--which can and does load it, using classpath.
    I hope that answers any lingering questions, if there were in fact such questions.

  • Reflection class

    I have a problem. We can use reflector class to get the class name, method names and class variables. But is it possible to get method variables using the same logic?
    Please help. Thanks in advance.

    Ack! I didn't read the OP carefully - kajbj is actually correct: there is no way to get method variables (those private to a method) through reflection. They are not part of the class/method "signature," which is all that reflection is built to use.
    Besides, accessing method variables won't accomplish anything - they have no meaning or context outside of the logic (method) they're being executed in.

  • Deploying multiple beans & support classes, related questions

    I have an application that I'm trying to deploy to the latest JServer with Oracle 8i 8.1.6 on Windows 2000. We used JDeveloper to write the code and to deploy the EJBs. I have some questions and it'd be great if someone can answer them.
    All documentation seem to indicate that beans must be deployed one at a time. Is this the case? If not, how?
    If so, what is the "correct" way to deploy helper classes which are used by more than one bean?
    Is there always only one instance of a class in the database, even though I might deploy the same helper class with different beans? If not, is there any mechanism to ensure consistency?
    Can I just update a helper class in the database?
    How do I see what classes are in the database? How do I manipulate them (e.g. delete, change, add, view size) ?
    Is there an easy way to "clean out" the database of all classes, so as to start anew?
    null

    The Java-related documentation was that I was reading. I have a followup question. Is it possible for me to simply deploy some beans without regard for all the helper classes, then at a later point do a load java on all classes that I expect to use, and have it all work?
    Thanks. You've been great help.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by JDev Team (Laura):
    Hi Gerald,
    I will take a stab at answering your questions:
    1. Are you talking about the JDeveloper doc, or the Oracle8i EJB doc?
    2. When you create the Deployment Profile in JDeveloper using the Deployment Profile wizard, any classes your EJB depends on should get included in the deployment archive by the dependency analyzer. You can see the contents of what will be deployed by selecting the Preview button on the Sources page of the wizard.
    If you want to explictly EXCLUDE a helper class because it has already been deployed with another bean, you can choose the Advanced button. Select one of the Library, archive, class pages on the Advanced dialog, and add the class to the Exclude list. Select OK, then check the Preview button again to make sure it was excluded.
    If you are deploying a number of beans that user the same helper classes, the helper classes will get deployed with the first bean, and on subsequent deployments, the process will detect that the helper class has already been deployed and will check to see if it has changed since the last deployment. I believe it uses a timestamp comparison for this, but I'm not positive. If it detects the source and target are the same, it won't redeploy the class.
    If you just want to update a helper class for the EJB, you can use the Java Stored Procedure deployment in the Deployment Profile Wizard, include the helper class in the deployment archive, and do not publish anything.
    You can use the Database Browser in JDeveloper to see what deployed Java Classes, and EJBs are stored in your database. Double-click on the IIOP connection you used to deploy the EJBs (under the Connections node in the Navigator). This will display the Database Browser. Expand the appropriate nodes to view the deployed objects.
    To see deployed Java Classes, double-click on a JDBC connection and expand the Schema node and then the Deployed Java Classes node.
    Many operations are available from the context menus in the Database Browser, including Drop. Others you will have to perform from SQL*Plus or the command line. See the Oracle8i Java Developer's Guide for more information on SQL commands and command line syntax for altering Java objects in the database. This doc, and the EJB and CORBA Developer's Guide are available online from OTN on the Doc pages.
    You can use dropjava to drop all classes that were deployed in a given deployment archive by specifying the name of the jar file used during deployment. Again, see the Java Developer's Guide for the syntax.<HR></BLOCKQUOTE>
    null

Maybe you are looking for

  • Costing based CO-PA extraction to DSO

    Hello Expert, I need to load the line item data to level 1 DSO. On the source system, the system has used the combination of the following key fields not allow duplicate records. PALEDGER VRGAR VERSI PERIO PAOBJNR PASUBNR BELNR POSNR But, the datasou

  • IMovie09 - cool features, horrible video output - very disappointed.

    I ran out the other day and bought iLife09, ONLY to get iMovie09. I wanted to use the stabilization feature of it, and after I saw some of the pretty cool new features (map, globe, etc), I loved it. Spent 16 hours over 2 days building a nice cool 45

  • No longer able to log in except for manually.

    I've been switching between gnome-shell, openbox (stand alone) and XFCE trying to figure out which I want to use (deleting the settings after each switch) and now it won't let me login using openbox at all anymore; XFCE works if I do it manually. If

  • Target message in Mesasage mapping

    Hi,   I am trying to do a file to SOAP scenario. I have set up data types for the source file. I have an XML target file(not the structure but with tags and values). I need to bring it to the target in the Message mapping to do my mapping.   In XI 30

  • Frozen and lost photo's!?!?

    i just imported 200 so photo's into iPhoto but after the import i was rotating some and the program crashed, when i re-opened it the photo's i just imported were not there. As usual i had selected the option to delete the photo's from my camera after