public class ResourceBinding extends Object
Path
annotations on classes.Path
Modifier and Type | Field and Description |
---|---|
String |
className
Deprecated.
Use this to specify the resource class.
|
Class<?> |
clazz
Deprecated.
|
String |
path
Deprecated.
|
boolean |
singleton
Deprecated.
|
Constructor and Description |
---|
ResourceBinding()
Deprecated.
|
ResourceBinding(String path,
Class<?> clazz,
boolean singleton)
Deprecated.
|
Modifier and Type | Method and 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.
|
public String path
public boolean singleton
public String className
public Class<?> clazz
public void resolve(WebEngine engine) throws ClassNotFoundException
ClassNotFoundException
public void reload(WebEngine engine) throws ClassNotFoundException
ClassNotFoundException
public static ResourceBinding fromAnnotation(Class<?> clazz)
public String getPath()
public Class<?> getClazz()
public boolean isSingleton()
Copyright © 2015 Nuxeo SA. All rights reserved.