org.apache.karaf.shell.commands
Class NewAction
java.lang.Object
org.apache.karaf.shell.console.AbstractAction
org.apache.karaf.shell.commands.NewAction
- All Implemented Interfaces:
- Action
public class NewAction
- extends AbstractAction
Instanciate a new object
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
converter
protected DefaultConverter converter
NewAction
public NewAction()
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.