Skip navigation links
oracle.jdeveloper.runner.oc4j
Class Oc4jInstanceManager
java.lang.Object
oracle.jdeveloper.runner.oc4j.Oc4jInstanceManager
-
public abstract class Oc4jInstanceManager
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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_
Oc4jInstanceManager
public Oc4jInstanceManager()
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
Skip navigation links
Copyright © 1997, 2011, Oracle. All rights reserved.