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

E13403-07

oracle.ide.externaltools
Class ExternalToolFactory

java.lang.Object
  extended by oracle.ide.externaltools.ExternalToolFactory

@ThreadSafe
public final class ExternalToolFactory
extends java.lang.Object

A factory that can create new tools provided in the base external tools implementation.

The creation methods on this class only create tools - you should add them to the registry using ExternalToolManager.addExternalTool(ExternalTool).

Since:
11.1.1

Constructor Summary
ExternalToolFactory()
           
 
Method Summary
 ExternalTool createProgramTool()
          Creates an external tool that can be used to invoke an external program.
static ExternalToolFactory getInstance()
          Returns an instance of the factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalToolFactory

public ExternalToolFactory()
Method Detail

getInstance

@NotNull
public static ExternalToolFactory getInstance()
Returns an instance of the factory.

Returns:
an instance of the factory. Will never return null.

createProgramTool

@NotNull
public ExternalTool createProgramTool()
Creates an external tool that can be used to invoke an external program. Note that this method does not add the new tool to the manager. You can do this by calling ExternalToolManager.addExternalTool(ExternalTool).

Returns:
a new external tool that can be used to invoke an external program. Will never return null.
Throws:
java.lang.IllegalStateException - if support for program tools is not installed.

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

E13403-07

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