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

E13403-07

oracle.jdeveloper.runner.oc4j
Class Oc4jInstanceManager

java.lang.Object
  extended by oracle.jdeveloper.runner.oc4j.Oc4jInstanceManager

public abstract class Oc4jInstanceManager
extends java.lang.Object


Nested Class Summary
static class Oc4jInstanceManager.DuplicateInstanceException
           
static class Oc4jInstanceManager.SourceNotFoundException
           
 
Field Summary
static int CREATE_DEFAULT_INSTANCE
          Available Ide commands
protected static Oc4jInstanceManager impl_
           
protected static java.lang.String OC4J_INSTANCE_MANAGER_BIND_NAME
           
 
Constructor Summary
Oc4jInstanceManager()
           
 
Method Summary
abstract  void addOc4jInstanceConfigurator(Oc4jInstanceConfigurator configurator)
           
abstract  void addOc4jInstanceListener(Oc4jInstanceListener listener)
           
abstract  void create()
          Create a new instance of Embedded-Oc4j server in the default location.
abstract  void create(java.net.URL url, boolean force)
           
protected abstract  void fireInstanceChanged(Oc4jInstanceEvent event)
           
abstract  java.net.URL getDefaultEmbeddedOc4jConfig()
          Get a URL to the configuration file for the default Embedded-Oc4J server.
abstract  java.net.URL getDefaultEmbeddedOc4jConfigDirectory()
           
abstract  java.net.URL getDefaultEmbeddedOc4jHomeDirectory()
           
abstract  java.util.logging.Logger getLogger()
          Return logger used by Oc4jInstanceManager to log messages.
static Oc4jInstanceManager getOc4jInstanceManager()
           
protected abstract  java.net.URL getStandaloneOc4jDirectory()
           
abstract  void removeOc4jInstanceConfigurator(Oc4jInstanceConfigurator configurator)
           
abstract  void removeOc4jInstanceListener(Oc4jInstanceListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CREATE_DEFAULT_INSTANCE

public static final int CREATE_DEFAULT_INSTANCE
Available Ide commands


OC4J_INSTANCE_MANAGER_BIND_NAME

protected static final java.lang.String OC4J_INSTANCE_MANAGER_BIND_NAME

impl_

protected static Oc4jInstanceManager impl_
Constructor Detail

Oc4jInstanceManager

public Oc4jInstanceManager()
Method Detail

getOc4jInstanceManager

public static Oc4jInstanceManager getOc4jInstanceManager()

create

public abstract void create()
                     throws Oc4jInstanceManager.DuplicateInstanceException,
                            Oc4jInstanceManager.SourceNotFoundException,
                            java.io.IOException
Create a new instance of Embedded-Oc4j server in the default location.

Throws:
Oc4jInstanceManager.DuplicateInstanceException
Oc4jInstanceManager.SourceNotFoundException
java.io.IOException
See Also:
getDefaultEmbeddedOc4jDirectory()

create

public abstract void create(java.net.URL url,
                            boolean force)
                     throws Oc4jInstanceManager.DuplicateInstanceException,
                            Oc4jInstanceManager.SourceNotFoundException,
                            java.io.IOException
Throws:
Oc4jInstanceManager.DuplicateInstanceException
Oc4jInstanceManager.SourceNotFoundException
java.io.IOException

getDefaultEmbeddedOc4jConfig

public abstract java.net.URL getDefaultEmbeddedOc4jConfig()
Get a URL to the configuration file for the default Embedded-Oc4J server.

Returns:
URL to the server.xml file, or null if it does not exist.

getDefaultEmbeddedOc4jHomeDirectory

public abstract java.net.URL getDefaultEmbeddedOc4jHomeDirectory()

getDefaultEmbeddedOc4jConfigDirectory

public abstract java.net.URL getDefaultEmbeddedOc4jConfigDirectory()

getStandaloneOc4jDirectory

protected abstract java.net.URL getStandaloneOc4jDirectory()
                                                    throws Oc4jInstanceManager.SourceNotFoundException
Throws:
Oc4jInstanceManager.SourceNotFoundException

addOc4jInstanceListener

public abstract void addOc4jInstanceListener(Oc4jInstanceListener listener)

removeOc4jInstanceListener

public abstract void removeOc4jInstanceListener(Oc4jInstanceListener listener)

addOc4jInstanceConfigurator

public abstract void addOc4jInstanceConfigurator(Oc4jInstanceConfigurator configurator)

removeOc4jInstanceConfigurator

public abstract void removeOc4jInstanceConfigurator(Oc4jInstanceConfigurator configurator)

fireInstanceChanged

protected abstract void fireInstanceChanged(Oc4jInstanceEvent event)

getLogger

public abstract java.util.logging.Logger getLogger()
Return logger used by Oc4jInstanceManager to log messages. To change the log Level set the environment variable "Oc4jInstanceManager.logging.level" to the desired level as understood by Level.parse(). By default only Warnings are displayed to the console, and All messages are displayed to the Message Log window if available.

Returns:
See Also:
Level

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.