1 Reply Latest reply on Jul 22, 2008 9:49 PM by jacob.orshalick

    Component.getInstance or Context.get

    barbacena

      Hi,


      I am trying to retrieve a component programmatically and I want to know the best approach:



      Component.getInstance(ClassOrName, ScopeType.TYPE)



      or


      Contexts.getSCOPETYPEContext().get(ClassOrName)



      ty