Package org.nuxeo.ecm.webengine
Class ResourceBinding
- java.lang.Object
-
- org.nuxeo.ecm.webengine.ResourceBinding
-
@Deprecated public class ResourceBinding extends Object
Deprecated.resources are deprecated - you should use a jax-rs application to declare more resources.Defines a JAX-RS root resource binding. This is an extension to JAX-RS to be able to declare root resource binding dynamically without usingPath
annotations on classes.- Author:
- Bogdan Stefanescu
- See Also:
Path
-
-
Constructor Summary
Constructors Constructor Description ResourceBinding()
Deprecated.ResourceBinding(String path, Class<?> clazz, boolean singleton)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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.
-
-
-
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
-
fromAnnotation
public static ResourceBinding fromAnnotation(Class<?> clazz)
Deprecated.
-
getPath
public String getPath()
Deprecated.
-
getClazz
public Class<?> getClazz()
Deprecated.
-
isSingleton
public boolean isSingleton()
Deprecated.
-
-