org.apache.karaf.shell.commands
Class NewAction

java.lang.Object
  extended by org.apache.karaf.shell.console.AbstractAction
      extended by org.apache.karaf.shell.commands.NewAction
All Implemented Interfaces:
Action

public class NewAction
extends AbstractAction

Instanciate a new object


Field Summary
protected  DefaultConverter converter
           
 
Fields inherited from class org.apache.karaf.shell.console.AbstractAction
log, session
 
Constructor Summary
NewAction()
           
 
Method Summary
protected  java.lang.Object convert(java.lang.Object obj, ReifiedType type)
           
protected  java.lang.Object convert(java.lang.Object obj, java.lang.reflect.Type type)
           
protected  java.lang.Object doExecute()
           
static java.lang.Throwable getRealCause(java.lang.Throwable t)
           
static boolean isAssignable(java.lang.Object source, ReifiedType target)
           
 
Methods inherited from class org.apache.karaf.shell.console.AbstractAction
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

converter

protected DefaultConverter converter
Constructor Detail

NewAction

public NewAction()
Method Detail

doExecute

protected java.lang.Object doExecute()
                              throws Exception
Specified by:
doExecute in class AbstractAction
Throws:
Exception

convert

protected java.lang.Object convert(java.lang.Object obj,
                                   java.lang.reflect.Type type)
                            throws Exception
Throws:
Exception

convert

protected java.lang.Object convert(java.lang.Object obj,
                                   ReifiedType type)
                            throws Exception
Throws:
Exception

isAssignable

public static boolean isAssignable(java.lang.Object source,
                                   ReifiedType target)

getRealCause

public static java.lang.Throwable getRealCause(java.lang.Throwable t)


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