com.sun.jersey.core.spi.component
Class ComponentConstructor<T>
java.lang.Object
com.sun.jersey.core.spi.component.ComponentConstructor<T>
- Type Parameters:
T
- the type to construct
public class ComponentConstructor<T>
- extends java.lang.Object
A constructor of a component.
- Author:
- Paul.Sandoz@Sun.Com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentConstructor
public ComponentConstructor(InjectableProviderContext ipc,
java.lang.Class<T> c,
ComponentInjector<T> ci)
getInstance
public T getInstance()
throws java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.IllegalArgumentException,
java.lang.reflect.InvocationTargetException
- Get a new instance.
- Returns:
- a new instance.
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.IllegalArgumentException
java.lang.reflect.InvocationTargetException
Copyright © 2011 Sun Microsystems, Inc. All Rights Reserved.