Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.9.0)

E52944-01


oracle.ide.model
Class TechnologyRegistry

java.lang.Object
  extended by oracle.ide.model.TechnologyRegistry


public final class TechnologyRegistry
extends java.lang.Object

The TechnologyRegistry is used to create and look up technologies in the system.


Method Summary
 TechId[] getAllTechIds()
          Returns all registered technologies.
 TechId[] getDependenciesFor(TechId techId)
          Returns all of the registered technologies upon which the specified technology depends, either directly or indirectly.
 TechId[] getDependentsFor(TechId techId)
          Returns all of the registered technologies that depend, either directly or indirectly, on the specified technology.
static TechnologyRegistry getInstance()
          Returns an instance of the technology registry.
 TechId getTechId(java.lang.String key)
          Looks up a registered technology given the technology key.
 TechId[] getVisibleTechIds()
          Returns all visible registered technologies.
 void registerPseudoTechnology(java.lang.String key, PseudoTechnologyCallback callback)
          Registers a pseudo-technology with the technology registry.
 void registerTechnology(java.lang.String key, java.lang.String name, java.lang.String description)
          Registers a top-level technology with the technology registry.
 void registerTechnology(java.lang.String key, java.lang.String name, java.lang.String description, TechId parent)
          Registers a child technology with the technology registry.
 void registerTechnology(java.lang.String key, java.lang.String name, java.lang.String description, TechId[] dependencies)
          Registers a dependent technology with the technology registry.
 void unregisterTechnology(java.lang.String key)
          Unregisters a technology from the technology registry.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getInstance

public static TechnologyRegistry getInstance()
Returns an instance of the technology registry.

registerTechnology

public void registerTechnology(java.lang.String key,
                               java.lang.String name,
                               java.lang.String description)
Registers a top-level technology with the technology registry.
Parameters:
key - a well-defined string that identifies the technology programmatically; the key is used to bind items in the gallery to a technology.
name - a translatable string that identifies the technology in the user interface.
description - a translatable string that describes the purpose of the technology in the user interface.

registerTechnology

public void registerTechnology(java.lang.String key,
                               java.lang.String name,
                               java.lang.String description,
                               TechId parent)
Registers a child technology with the technology registry.
Parameters:
key - a well-defined string that identifies the technology programmatically; the key is used to bind items in the gallery to a technology.
name - a translatable string that identifies the technology in the user interface.
description - a translatable string that describes the purpose of the technology in the user interface.
parent - the parent technology.

registerTechnology

public void registerTechnology(java.lang.String key,
                               java.lang.String name,
                               java.lang.String description,
                               TechId[] dependencies)
Registers a dependent technology with the technology registry.
Parameters:
key - a well-defined string that identifies the technology programmatically; the key is used to bind items in the gallery to a technology.
name - a translatable string that identifies the technology in the user interface.
description - a translatable string that describes the purpose of the technology in the user interface.
dependencies - the technologies upon which the registered technology depends.

registerPseudoTechnology

public void registerPseudoTechnology(java.lang.String key,
                                     PseudoTechnologyCallback callback)
Registers a pseudo-technology with the technology registry. Pseudo-technologies are not visible in the user interface.
Parameters:
key - a well-defined string that identifies the technology programmatically; the key is used to bind items in the gallery to a technology.
callback - the callback object used to determine the visibility of gallery items tagged with the specified technology key.
See Also:
PseudoTechnologyCallback

unregisterTechnology

public void unregisterTechnology(java.lang.String key)
Unregisters a technology from the technology registry. The technology is only removed from the registry after all clients have unregistered the technology.
Parameters:
key - a string that identifies a technology.

getTechId

public TechId getTechId(java.lang.String key)
Looks up a registered technology given the technology key.
Parameters:
key - a string that identifies a technology.
Returns:
the TechId for the specified technology, or null if no technology is registered with the specified identifier.

getAllTechIds

public TechId[] getAllTechIds()
Returns all registered technologies.
Returns:
an array of TechId instances comprising all registered technologies.

getVisibleTechIds

public TechId[] getVisibleTechIds()
Returns all visible registered technologies.
Returns:
an array of TechId instances comprising those registered technologies that are visible.

getDependenciesFor

public TechId[] getDependenciesFor(TechId techId)
Returns all of the registered technologies upon which the specified technology depends, either directly or indirectly.
Returns:
an array containing all the technologies upon which the specified technology depends.

getDependentsFor

public TechId[] getDependentsFor(TechId techId)
Returns all of the registered technologies that depend, either directly or indirectly, on the specified technology.
Returns:
an array containing all the technologies that depend on the specified technology.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.9.0)

E52944-01


Copyright © 1997, 2015, Oracle. All rights reserved.