org.apache.karaf.shell.console.commands
Class GenericType

java.lang.Object
  extended by org.osgi.service.blueprint.container.ReifiedType
      extended by org.apache.karaf.shell.console.commands.GenericType

public class GenericType
extends org.osgi.service.blueprint.container.ReifiedType


Constructor Summary
GenericType(java.lang.Class clazz, GenericType... parameters)
           
GenericType(java.lang.reflect.Type type)
           
 
Method Summary
 org.osgi.service.blueprint.container.ReifiedType getActualTypeArgument(int i)
           
static GenericType parse(java.lang.String type, java.lang.Object loader)
           
 int size()
           
 java.lang.String toString()
           
 
Methods inherited from class org.osgi.service.blueprint.container.ReifiedType
getRawClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenericType

public GenericType(java.lang.reflect.Type type)

GenericType

public GenericType(java.lang.Class clazz,
                   GenericType... parameters)
Method Detail

parse

public static GenericType parse(java.lang.String type,
                                java.lang.Object loader)
                         throws java.lang.ClassNotFoundException,
                                java.lang.IllegalArgumentException
Throws:
java.lang.ClassNotFoundException
java.lang.IllegalArgumentException

getActualTypeArgument

public org.osgi.service.blueprint.container.ReifiedType getActualTypeArgument(int i)
Overrides:
getActualTypeArgument in class org.osgi.service.blueprint.container.ReifiedType

size

public int size()
Overrides:
size in class org.osgi.service.blueprint.container.ReifiedType

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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