org.apache.karaf.shell.dev.framework
Class Equinox

java.lang.Object
  extended by org.apache.karaf.shell.dev.framework.Framework
      extended by org.apache.karaf.shell.dev.framework.Equinox

public class Equinox
extends Framework

Represents Eclipse's Equinox as the underlying OSGi framework


Field Summary
static java.lang.String NAME
           
 
Constructor Summary
Equinox(java.io.File base)
          Create a new instance
 
Method Summary
 void disableDebug(java.io.File directory)
          Disable the OSGI framework's debug logging
 void enableDebug(java.io.File directory)
          Enable the OSGi framework's debug logging
 java.lang.String getName()
          Get the underlying OSGi framework name
 
Methods inherited from class org.apache.karaf.shell.dev.framework.Framework
getConfig, readPropertyFile, removeConfigProperty, saveConfigProperties, setConfigProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Constructor Detail

Equinox

public Equinox(java.io.File base)
Create a new instance

Parameters:
base -
Method Detail

getName

public java.lang.String getName()
Description copied from class: Framework
Get the underlying OSGi framework name

Specified by:
getName in class Framework

enableDebug

public void enableDebug(java.io.File directory)
                 throws java.io.IOException
Description copied from class: Framework
Enable the OSGi framework's debug logging

Specified by:
enableDebug in class Framework
Parameters:
directory - the directory containing the Karaf installation
Throws:
java.io.IOException - when a problem occurs configuring debug settings

disableDebug

public void disableDebug(java.io.File directory)
                  throws java.io.IOException
Description copied from class: Framework
Disable the OSGI framework's debug logging

Specified by:
disableDebug in class Framework
Parameters:
directory - the Karaf base installation directory
Throws:
java.io.IOException - when a problem occurs removing debug configuration settings


Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.