Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webengine
Class ResourceBinding

java.lang.Object
  extended by org.nuxeo.ecm.webengine.ResourceBinding

Deprecated. resources are deprecated - you should use a jax-rs application to declare more resources.

public class ResourceBinding
extends Object

Defines a JAX-RS root resource binding. This is an extension to JAX-RS to be able to declare root resource binding dynamically without using Path annotations on classes.

Author:
Bogdan Stefanescu
See Also:
Path

Field Summary
 String className
          Deprecated. Use this to specify the resource class.
 Class<?> clazz
          Deprecated.  
 String path
          Deprecated.  
 boolean singleton
          Deprecated.  
 
Constructor Summary
ResourceBinding()
          Deprecated.  
ResourceBinding(String path, Class<?> clazz, boolean singleton)
          Deprecated.  
 
Method Summary
 boolean equals(Object obj)
          Deprecated.  
static ResourceBinding fromAnnotation(Class<?> clazz)
          Deprecated.  
 Class<?> getClazz()
          Deprecated.  
 String getPath()
          Deprecated.  
 int hashCode()
          Deprecated.  
 boolean isSingleton()
          Deprecated.  
 void reload(WebEngine engine)
          Deprecated.  
 void resolve(WebEngine engine)
          Deprecated. Must be called before using this binding.
 String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

path

public String path
Deprecated. 

singleton

public boolean singleton
Deprecated. 

className

public String className
Deprecated. 
Use this to specify the resource class.


clazz

public Class<?> clazz
Deprecated. 
Constructor Detail

ResourceBinding

public ResourceBinding()
Deprecated. 

ResourceBinding

public ResourceBinding(String path,
                       Class<?> clazz,
                       boolean singleton)
Deprecated. 
Method Detail

resolve

public void resolve(WebEngine engine)
             throws ClassNotFoundException
Deprecated. 
Must be called before using this binding.

Throws:
ClassNotFoundException

reload

public void reload(WebEngine engine)
            throws ClassNotFoundException
Deprecated. 
Throws:
ClassNotFoundException

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Deprecated. 
Overrides:
equals in class Object

fromAnnotation

public static ResourceBinding fromAnnotation(Class<?> clazz)
Deprecated. 

getPath

public String getPath()
Deprecated. 

getClazz

public Class<?> getClazz()
Deprecated. 

isSingleton

public boolean isSingleton()
Deprecated. 

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.