public static class IERXRestDelegate.Factory extends Object
Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
static IERXRestDelegate |
delegateForClassDescription(com.webobjects.eocontrol.EOClassDescription classDescription) |
static IERXRestDelegate |
delegateForEntityNamed(String entityName)
Returns a rest delegate for the given entity name.
|
static IERXRestDelegate |
delegateForObject(Object object) |
static void |
setDefaultBeanDelegate(IERXRestDelegate defaultDelegate)
Sets the default rest delegate to use for non-EO's when no other can be found.
|
static void |
setDefaultDelegate(IERXRestDelegate defaultDelegate)
Sets the default rest delegate to use for EO's when no other can be found.
|
static void |
setDelegateForEntityNamed(IERXRestDelegate delegate,
String entityName)
Registers a rest delegate for the given entity name.
|
static void |
setDelegateForEntityNamed(IERXRestDelegate delegate,
String entityName,
Class<?> clazz)
Registers a rest delegate for the given entity name.
|
public static void setDefaultDelegate(IERXRestDelegate defaultDelegate)
defaultDelegate
- the default delegate to usepublic static void setDefaultBeanDelegate(IERXRestDelegate defaultDelegate)
defaultDelegate
- the default delegate to usepublic static void setDelegateForEntityNamed(IERXRestDelegate delegate, String entityName)
delegate
- the delegate to registerentityName
- the entity name to register forpublic static void setDelegateForEntityNamed(IERXRestDelegate delegate, String entityName, Class<?> clazz)
delegate
- the delegate class to registerentityName
- the entity name to register forpublic static IERXRestDelegate delegateForEntityNamed(String entityName)
entityName
- the name o the entity to lookuppublic static IERXRestDelegate delegateForObject(Object object)
public static IERXRestDelegate delegateForClassDescription(com.webobjects.eocontrol.EOClassDescription classDescription)
Copyright © 2002 – 2020 Project Wonder.