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 boolean singleton
public ResourceBinding()
public ResourceBinding(String path, Class<?> clazz, boolean singleton)
public void resolve(WebEngine engine) throws ClassNotFoundException
ClassNotFoundException
public void reload(WebEngine engine) throws ClassNotFoundException
ClassNotFoundException
public static ResourceBinding fromAnnotation(Class<?> clazz)
public boolean isSingleton()
Copyright © 2017 Nuxeo. All rights reserved.