Generifying AccessController and related classes

Hi all,
I was wondering why AccessController, PrivilegedAction, PrivilegedExceptionAction and PrivilegedException have not been generified in 1.5 beta 1, since those classes appear to be good candidates.
While I understand that PrivilegedException cannot be removed, it would anyway be useful to generify its getException() method.
Thoughts and pointers to previous discussions will be much appreciated.
Thanks
Simon

How does one get beta 2?Wait for it.

Similar Messages

  • [svn:osmf:] 14505: PARB changes: removing MediaPlayer. playMode and related classes.

    Revision: 14505
    Revision: 14505
    Author:   [email protected]
    Date:     2010-03-02 02:02:19 -0800 (Tue, 02 Mar 2010)
    Log Message:
    PARB changes: removing MediaPlayer.playMode and related classes. Renaming livePosition to lastRecordedTime.
    Modified Paths:
        osmf/trunk/framework/OSMF/.flexLibProperties
        osmf/trunk/framework/OSMF/org/osmf/elements/compositeClasses/CompositeDVRTrait.as
        osmf/trunk/framework/OSMF/org/osmf/media/MediaPlayer.as
        osmf/trunk/framework/OSMF/org/osmf/net/dvr/DVRCastDVRTrait.as
        osmf/trunk/framework/OSMF/org/osmf/traits/DVRTrait.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/dvr/TestDVRCastDVRTrait.as
        osmf/trunk/framework/OSMFTest/org/osmf/traits/TestDVRTrait.as
        osmf/trunk/libs/ChromeLibrary/src/org/osmf/chrome/controlbar/widgets/LiveButton.as
        osmf/trunk/libs/ChromeLibrary/src/org/osmf/chrome/controlbar/widgets/RecordButton.as
    Removed Paths:
        osmf/trunk/framework/OSMF/org/osmf/events/MediaPlayerPlayModeChangeEvent.as
        osmf/trunk/framework/OSMF/org/osmf/media/MediaPlayerPlayMode.as

  • Delete old assets and related classes

    Dear Experts,
    We have a new support client. They want to revise their Asset Classes as at the time of implementation too many asset classes (around 70) had been created. Now they want to have limited asset classes as per the Schedule VI.
    On the other threads the solution suggested by experts is to create the desired asset classes and create new assets (per old asset) and transfer the balances from old assets to new assets through T.Code ABUMN.
    My doubt is:
    1. How feasible is above solution when already 1 year's data exists in assets?
    2. If this solution is to be worked out, can we delete the old assets and asset classes, AFTER transferring the balances to new assets.
    Regards
    Amar
    Edited by: Z_Amarendra on Jun 10, 2009 8:30 AM

    Thanks Paul,
    - How feasible would it be to go with this option?
    - Can the new asset classes and and the assets be immediately used after transferring the balances through ABUMN? Or need to wait till new fiscal year...?
    Reply awaited
    Regards
    Amar

  • [svn:osmf:] 13988: PARB feedback: change mediaWidth and mediaHeight properties on layout renderer related classes to measuredWidth , and measuredHeight.

    Revision: 13988
    Revision: 13988
    Author:   [email protected]
    Date:     2010-02-05 00:24:52 -0800 (Fri, 05 Feb 2010)
    Log Message:
    PARB feedback: change mediaWidth and mediaHeight properties on layout renderer related classes to measuredWidth, and measuredHeight.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/composition/CompositeDisplayObjectTrait.as
        osmf/trunk/framework/OSMF/org/osmf/containers/MediaContainer.as
        osmf/trunk/framework/OSMF/org/osmf/display/MediaContainerGroup.as
        osmf/trunk/framework/OSMF/org/osmf/layout/DefaultLayoutRenderer.as
        osmf/trunk/framework/OSMF/org/osmf/layout/ILayoutTarget.as
        osmf/trunk/framework/OSMF/org/osmf/layout/LayoutRenderer.as
        osmf/trunk/framework/OSMF/org/osmf/layout/LayoutTargetSprite.as
        osmf/trunk/framework/OSMF/org/osmf/layout/MediaElementLayoutTarget.as
        osmf/trunk/framework/OSMFTest/org/osmf/display/TestMediaContainerGroup.as
        osmf/trunk/framework/OSMFTest/org/osmf/layout/TestDefaultLayoutRenderer.as
        osmf/trunk/framework/OSMFTest/org/osmf/layout/TestLayoutRenderer.as
        osmf/trunk/framework/OSMFTest/org/osmf/layout/TestMediaElementLayoutTarget.as
        osmf/trunk/framework/OSMFTest/org/osmf/layout/TesterLayoutTargetSprite.as

    Hi Lucas, 
    We don't recommend making layout renderers for each item that needs to be laid out.  In fact you shouldn't be creating layout renderers at all (they are created automatically by the MediaContainer).  The best way to layout Media is to add LayoutMetadata to the MediaElements.  If you want to integrate layout into your controls, which aren't MediaElements, I wouldn't suggest you place them manually on the stage, and do you yourself.  If you absolutely need to use the OSMF layout system, I would recommend creating a MediaElement to wrap your controls, and then give the wrapper the layout metadata you need.   The easiest approach though, is to look at the OSMFPlayer example, which has a skinnable player.  You can specify image for every button in the player, as well as background color, etc....
    We will be releasing a white paper on the subject of layout in the coming weeks.   I'll be sure to include a section on laying out your player controls.
    Ryan O'Connell
    OSMF Engineering

  • What is the relation between main class and inner classes

    hi
    i want to make a UML design and o want to know how to draw the relation betwwen the main public class and inner classes?
    and what is the relation?

    BaffyOfDaffyA wrote:
    Please keep in mind that if you spell better you will get better answers and if you add duke stars you will get better answers and if you mark the thread as a question you will get better answers. That will make it look like you are paying attention and that you really want an answer.
    My best answer based on your rather vague question:
    A minimal public class in a file named "Minimal.java" in the directory named "minimal":
    package minimal;
    public class Minimal {
    private int variable;
    public Minimal(int var) {
    variable = var;
    public int getVariable() {
    return variable;
    }This would be an example of adding an inner class:
    package minimal;
    public class Minimal {
    private int variable;
    public Minimal(int var) {
    variable = var;
    public int getVariable() {
    return variable;
    public class Inner {
    private int innerVariable;
    public Inner(int var) {
    innerVariable = var;
    public int getInnerVariable() {
    return innerVariable;
    }The inner class is exactly like any other inner class except if you are accessing it from anything else other than Minimal then you would have to add Minimal. right before Inner for example, where the Minimal class could use
    Inner inner = new Inner(5);other classes would have to use
    Minimal.Inner inner = new Minimal.Inner(5);
    See [Inner Class Example|http://java.sun.com/docs/books/tutorial/java/javaOO/innerclasses.html] or [Nested Classes|http://java.sun.com/docs/books/tutorial/java/javaOO/nested.html] for more information.
    He is probably not asking what an inner class is or how to declare one in raw source code. To me he is asking how do I
    explain this relationship in a UML diagram and as UML is not and exact science and expression can vary a lot
    between UML design applications I didn't want to stab in the dark.
    @OP I would say whatever seems most logical to you and your team, write something that reads.

  • [svn:fx-trunk] 7120: Switched to using "use namespace mx_internal" rather than using explicit namespace scoping (e.g.,  mx_internal::foo) in RichEditableText and its related classes.

    Revision: 7120
    Author:   [email protected]
    Date:     2009-05-19 23:46:06 -0700 (Tue, 19 May 2009)
    Log Message:
    Switched to using "use namespace mx_internal" rather than using explicit namespace scoping (e.g.,  mx_internal::foo) in RichEditableText and its related classes.
    Removed stale import statements.
    QE Notes: None
    Doc Notes: None
    Bugs: None
    Reviewer: Carol
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/RichEditable TextContainerManager.as

    I'm more of a 1.3 chick myself, but the words are the same just in a different language.
    1. Is Tomcat running?
    2. Have you configured the ajp13 connector on 8009 in Tomcat? (Should it be ajp13 for Apache 2.0? - I really must upgrade)

  • Working with traits and policy classes

    I have not been able to see if anyone has raised this before from my searches of the forums but this may just be bad searching !
    I am trying to investigate how much of the traits / policies idioms of working in C++ generic programming are applicable to Java. The following trio of classes are a very striped down version of one problem I am having. It relates to the use of static methods, inheritance and generic classes.
    First a couple of classes with static methods related by inheritance.
    public class X {
      public static int get() {
        System.err.println("X.get.") ;
        return 1 ;
    public class Y extends X {
      public static int get() {
        System.err.println("Y.get.") ;
        return X.get() + 1 ;
    }Now a class that uses the types as type parameters and tries to call the static method:
    public class TypeParameterLookupSolved<A extends X> {
      private void doit() {
        System.out.println(A.get()) ;
      public static void main(final String[] args) {
        TypeParameterLookupSolved<Y> tpli = new TypeParameterLookupSolved<Y> () ;
        tpli.doit() ;
    }The output from running this is:
    X.get.
    1
    So the question is why does the call of A.get() always bind to X.get() when na�vely you would expect Y.get() to be called.
    If Java will only ever call X.get() in this instance then the policy class idiom will not work properly . Of course it may be that there is another way of doing this that I have missed.
    Thanks.

    Thanks for the correction.
    I never can get the hang of up and down in type hierarchies -- functional programming people talk a lot about top and bottom in type hierarchies and I never remember which is which. One of these days I will find a mechanism for putting the knowledge into long-term memory :-)
    Having had the epiphany of "least upper bounds", it is now trivially easy to do Java-style generic programming (which is good :-) even though it is totally different to everyone else (C++, Python, Groovy, Ruby, Nice, CL, OCAML, Haskell, . . .-- which is not so good). I am increasingly of the view that using the term Generics has been a labelling error and an unfortunate disservice to Java as it can set up a mind-set about parameterized types and "generic programming" that is fundamentally wrong. I can feel a series of short articles coming on as well as sorting out my ADS library!

  • Question regarding palcing cache related classes into a package

    Hi all,
    I have a question regarding placing classes into packages. Actually I am writing cache feature which caches the results which were evaluated previously. Since it is a cache, I don't want to expose it outside because it is only for internal purpose. I have 10 classes related to this cache feature. All of them are used by cache manager (the manager class which manages cache) only. So I thought it would make sense if I keep all the classes into a separate package.
    But the problem I have is, since the cache related classes are not exposed outside so I can't make them public. If they are not public I can't access them in the other packages of my code. I can't either make it public or private. Can someone suggest a solution for my problem?

    haki2 wrote:
    But the problem I have is, since the cache related classes are not exposed outside so I can't make them public. If they are not public I can't access them in the other packages of my code.Well, you shouldn't access them in your non-cache code.
    As far as I understand, the only class that other code needs to access is the cache manager. That one must be public. All other classes can be package-private (a.k.a default access). This way they can access each other and the cache manager can access them, but other code can't.

  • How to use PKCS related classes?

    Hi,
    I am happening to deal with PKCS7. The client will send me (the server) a PKCS7 envelope and I need to decrypt and/or get data like certificate, etc from the PKCS7 envelope. Are the required/related classes not part of Java API? We use 1.4.2_06. Do I have to use/buy/download any special API to deal with pkcs?
    This link http://java.sun.com/products/jce/jce122_providers.html says one needs to buy one of the listed Cryptographic Service Providers. Did any one deal with PKCS? If so what did you use/buy/download? Is there any information on net on how to use those APIs - examples, samplex, documentation, etc?
    Thanks in advance for help,
    -Pramodh

    You can use the BouncyCastle JCE provider to use PKCS7 objects. It is free. David Hook's book "Cryptography in Java" provides numerous examples of how to use the BC libraries with PKCS objects.

  • PipedReader and PipedWriter class

    Hi everyone,
    Can any of you please explain PipedReader and PipedWriter class by givning code samples ??
    (I used tutorials but now I do not understand how to use it with codes)

    Can it be regarded as an efficiency that we do not
    call read method in loop many times, nistead we only
    call readLine method once.A little bit, but that's realy separate from buffering. It's related, but buffering in this context is talking about storing up a whole bunch of bytes in memory and then making one call to write them all to disk at once, rather than incurring the overhead of a physical write to disk for each byte. Or, conversely, reading a whole bunch of bytes with one physical disk read, storing them in memory, and then having the read, readLine, etc. calls pull the bytes from memory as needed and only going back to disk when the buffer is empty.
    readLine instead of read is kind of similar in that you only make one method call to get a bunch of stuff at once, rather than calling many methods to get the pieces individually, but it's different than the above description of buffering because whether it's read or readLine, you know you're processing one line's worth of data and you explcitly read exactly as much as you need--either with multple read calls or one readLine call. Buffering happens transparently to you. You don't know how many physical disk reads/writes there are, or where they occur.

  • Smatrform and processing class

    Hi,
    I'm New to SAP CRM.
    My requirement is to send a the activity transaction details to a customer as a PDF in the smartforms.
    Here we can execute the action using a Smartform or Method call.
    How to go about it.
    How can we know the processing class for a gievn smartform. In which table can we find the entries or relationships between a smartform and processing class.
    Regards
    Lekha

    Hi,
    I am sorry. I am not able to understand ur question properly. Actually i did some smartfroms work in my organisation relating to CRM 2007.
    Here, our functional people first assign the standard method and class and smartform. Then take a sample data. Then i used to copy the std form to zform and apply my logic in program lines. I got success.
    The std methods and classes depend on the action type.
    in service area i used.
    cl_doc_processing_crm_order (processing class)
    crm_srvorder_exec_smart_form (method).
    if u goto std one u find a lot.
    u better get the details from the funtional team.
    hope this will help you.
    best wishes,
    mallik

  • Price control indicator and valuation class

    All SAP Gurus,
    Is there any relationship between price control indicator (V and S) and valuation class?
    We want to change the price control for certain materials from V to S and for certain materials from S to V.
    Regards,

    HI ,
    There is no direct releation between valution class and the Price control.
    Yes but a indirect relation.
    it is by the maeterial Type .
    in OMS2--we define the default Price control indicator.
    in OMSK -we define the Material type and the Valution class linkage.
    Know the Price control Indicator always triggers your value .and the way it has to be posted.(on a default value or a Purchase value on a weighted average basis)
    and valuation class triggers ..where it has to be Posted.( GL account)
    so it is how.
    But there could some other implication of the chase of the Price control..becoz.your Previous period price and current period would implact.
    you stock valution would impact.
    so check all these before you Proceed
    hope so it helps
    Regards
    Anjanna.

  • Where can I find the javadoc api for JavaConcurrentProgram related classes

    Hello,
    I am new to Oracle EBS. I want to use Java Concurrent Program. I found a few links how to write the program. But I could not find the java doc for the classes that are used, for example, JavaConcurrentProgram, CpContext etc. Would someone please tell me where I can find the javadoc api for those classes? And also where do the corresponding jar file/files reside on the server?
    thanks.

    Hello, Ajay,
    I read both of metalinks before. One is example and the other is FAQ. None of them have link to the javadoc api for the JavaConcurrentProgram related classes. I am looking for the javadoc api for the classes related to the java concurrent program. I did find some javadoc api for class like oracle.apps.fnd.common.Context from jdeveloper. But I could not find any javadoc api for oracle.apps.fnd.cp.request.* and oracle.app.fnd.util.* etc.

  • What's the most efficient way to extend product and catalog classes?

    If I have additional product and catalog properties in a new database table, should
    I create a new class and extend the ProductItem and Catalog classes or should
    I manage these properties via the set/get property methods on the existing classes?
    Is there a difference in performance with the two approaches?

    Performance wise using the set/get property methods is going to be more
    expensive... However, I would recommend the property approach. You really
    don't want to modify or extend the provided source code. I have done this
    and the approach works out fine...
    Another approach that I have used is to create additional tables and classes
    that key of the product and catalog classes. Again with the intension that
    we don't modify provided stuff... For example, we implemented related
    products using this approach.
    "Bill" <[email protected]> wrote in message
    news:3fbcf598$[email protected]..
    >
    If I have additional product and catalog properties in a new databasetable, should
    I create a new class and extend the ProductItem and Catalog classes orshould
    I manage these properties via the set/get property methods on the existingclasses?
    Is there a difference in performance with the two approaches?

  • [svn:osmf:] 13724: Add fixes to FLV related classes to support DRM protected contents

    Revision: 13724
    Revision: 13724
    Author:   [email protected]
    Date:     2010-01-22 15:17:16 -0800 (Fri, 22 Jan 2010)
    Log Message:
    Add fixes to FLV related classes to support DRM protected contents
    Some minor fixes to FLV related classes
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/flv/FLVParser.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/flv/FLVTag.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/flv/FLVTagAudio.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/flv/FLVTagScriptDataObject.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/flv/FLVTagVideo.as

    Thanks Erik,
    If nothing else, this huge list of updates and fixes, shows clearly that the Logic Dev team is working hard on fixing and improving LPX to a major degree.... and from the list of fixes done.. show they do read the bug reports submitted!
    As an aside....
    I recall how all the 'naysayers' prior to LPX (and in some cases, since...)  were proclaiming how Logic was dead, the team was being disbanded, we won't see any further development, the Dev team doesn't listen or care... and so on....... I wonder where those people are now?

Maybe you are looking for

  • MacBook Pro to hdtv via thunderbolt gone wrong..

    I hooked up my MacPro to my hdtv and was playing around with the resolution. The screen has now gone green and won't revert back... Anyone know how to fix or am I buggered???

  • I can't get my HP laserjet p1102w to work with airprint

    Hi! So it seem's that I can't get my HP laserjet p1102w to work with airprint. I got it to send out it's own Wi-Fi signal, and i get in touch with that signal on my iPad 3. But when I wan't to print something out from Pages, then it says that it can'

  • How do I show and hide a popup message by the program

    Hi, I've the following problem. Sometime the program must wait to open a seriel port. On slow machines, this could take some seconds. During this time I'll display a popup message with the message "please, be patient....". After the port is open, the

  • XML input into BPEL Process

    Hi, I am trying to create a BPEL process which receives XML input and then uses this input to insert data into the database. I have a stored procedure which will accept the input variables and do the insert. My XML looks like below: <Acc_type> <code>

  • Epson plug-in to scan shows up 'works' in CS3 but not in CS5

    I've been using an Epson Workforce 635 scanner-printer and have it working perfectly from within CS3 Photoshop using the file>import>epson plug-in. This does not work in CS5. I simply dragged and dropped the plug-in from the CS3 plug-ins folder to th