org.jboss.resteasy.util
Class GetRestful

java.lang.Object
  extended by org.jboss.resteasy.util.GetRestful

public class GetRestful
extends java.lang.Object

Version:
$Revision: 1 $
Author:
Bill Burke

Constructor Summary
GetRestful()
           
 
Method Summary
static java.lang.Class getRootResourceClass(java.lang.Class clazz)
          Given a class, search itself and implemented interfaces for jax-rs annotations.
static java.lang.Class getSubResourceClass(java.lang.Class clazz)
          Given a class, search itself and implemented interfaces for jax-rs annotations.
static boolean isRootResource(java.lang.Class clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetRestful

public GetRestful()
Method Detail

getRootResourceClass

public static java.lang.Class getRootResourceClass(java.lang.Class clazz)
Given a class, search itself and implemented interfaces for jax-rs annotations.

Parameters:
clazz -
Returns:
list of class and intertfaces that have jax-rs annotations

getSubResourceClass

public static java.lang.Class getSubResourceClass(java.lang.Class clazz)
Given a class, search itself and implemented interfaces for jax-rs annotations.

Parameters:
clazz -
Returns:
list of class and interfaces that have jax-rs annotations

isRootResource

public static boolean isRootResource(java.lang.Class clazz)


Copyright © 2010. All Rights Reserved.