Forum Discussion

FICO's avatar
FICO
Community Manager
15 years ago

Advisor Class access through Blaze Advisor API

Advisor Class access through Blaze Advisor API

I got java code, that connects to the repository, opens a project and finds a directory that contains Advisor Classes. The question is, is it possible to open these classes and get their properties? Is there any way to extract classes from list of directory entries? Or is this whole approach wrong?? I can't find any documentation usefull for solving this problem, so any help is appreciated.

here is the code:

    private void processProject(NdPromProject project) {

        System.out.println("Creating location "+ OBJECT_MODEL_DIRECTORY);         NdLocation location = NdLocationFactory.createLocation(

                 OBJECT_MODEL_DIRECTORY, true);

        NdRomDirectory dir;         try {             dir = (NdRomDirectory) project.lookupEntry(location);             NdRomEntry[] entries = dir.getEntries();             for (NdRomEntry entry : entries) {                 ???             }         } catch (NdRomException e) {             e.printStackTrace();         }     }

1 Reply

  • FICO's avatar
    FICO
    Community Manager

    Hi,

       Could you be more clear like

          1. What are you trying to achieve or what is your requirment!

          2. What do you mean by classes? Classes created in Blaze or classes in BOM Jar file?

    Thanks,

     KPF