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

E13403-07

oracle.jdeveloper.java
Class JdevJavaModelFactory

java.lang.Object
  extended by oracle.jdeveloper.java.JavaModelFactory
      extended by oracle.jdeveloper.java.JdevJavaModelFactory

public class JdevJavaModelFactory
extends JavaModelFactory

Extends the base JavaModelFactory to know about the IDE environment.


Field Summary
 
Fields inherited from class oracle.jdeveloper.java.JavaModelFactory
locatorFactory
 
Constructor Summary
JdevJavaModelFactory()
           
 
Method Summary
 ProviderContext newContextImpl()
          Creates a new context for the provider.
 JavaModel newInstance(CachedFileProvider provider)
          Creates a new JavaModel instance with the given provider.
protected  ClassLocatorFactory newLocatorFactory()
          Creates a new locator factory.
static void registerSelf()
          Sets an instance of this factory as the JavaModelFactory instance.
 
Methods inherited from class oracle.jdeveloper.java.JavaModelFactory
getInstance, getLocatorFactory, newContext, newInstance, setInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdevJavaModelFactory

public JdevJavaModelFactory()
Method Detail

registerSelf

public static void registerSelf()
Sets an instance of this factory as the JavaModelFactory instance.


newInstance

public JavaModel newInstance(CachedFileProvider provider)
Description copied from class: JavaModelFactory
Creates a new JavaModel instance with the given provider.

Subclasses should override this if they want to create a JavaModel that is different from the default implementation.

Overrides:
newInstance in class JavaModelFactory
Returns:
A new ProviderEnvironment. Always non-null.

newLocatorFactory

protected ClassLocatorFactory newLocatorFactory()
Description copied from class: JavaModelFactory
Creates a new locator factory.

Subclasses should override this if they want to create a ClassLocatorFactory that is different from the default implementation.

Overrides:
newLocatorFactory in class JavaModelFactory
Returns:
A new ProviderEnvironment. Always non-null.

newContextImpl

public ProviderContext newContextImpl()
Description copied from class: JavaModelFactory
Creates a new context for the provider.

Subclasses should override this if they want to create a ProviderEnvironment that is different from the default implementation.

Overrides:
newContextImpl in class JavaModelFactory
Returns:
A new ProviderEnvironment. Always non-null.

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.