|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.specrunner.parameters.core.AccessFactoryImpl
public class AccessFactoryImpl
Default implementation of IAccessFactory.
| Field Summary | |
|---|---|
protected ICache<String,IAccess> |
cache
Cache for access information. |
| Constructor Summary | |
|---|---|
AccessFactoryImpl()
|
|
| Method Summary | |
|---|---|
protected IAccess |
lookupBean(Object target,
String name)
Lookup for a bean property. |
protected IAccess |
lookupField(Class<?> clazz,
String name)
Lookup for a public attribute. |
protected IAccess |
lookupMethod(Class<?> clazz,
String name)
Lookup for public method. |
IAccess |
newAccess(Object target,
String name)
Create access information for a given object and a given feature. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ICache<String,IAccess> cache
| Constructor Detail |
|---|
public AccessFactoryImpl()
| Method Detail |
|---|
public IAccess newAccess(Object target,
String name)
IAccessFactory
newAccess in interface IAccessFactorytarget - The target object.name - The feature name.
protected IAccess lookupBean(Object target,
String name)
target - The object instance.name - The feature name.
protected IAccess lookupField(Class<?> clazz,
String name)
clazz - The class.name - The feature name.
protected IAccess lookupMethod(Class<?> clazz,
String name)
clazz - The class.name - The feature name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||