public class BeanLookupBindings extends SimpleBindings
def scope = appCtx.getBean("scope");
. Instead, the script
may simply reference scope
. Caveat: access to beans is read only.Constructor and Description |
---|
BeanLookupBindings(org.springframework.context.ApplicationContext appCtx) |
BeanLookupBindings(org.springframework.context.ApplicationContext appCtx,
Map<String,Object> m) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(Object key) |
Object |
get(Object key) |
clear, containsValue, entrySet, isEmpty, keySet, put, putAll, remove, size, values
public BeanLookupBindings(org.springframework.context.ApplicationContext appCtx)
public boolean containsKey(Object key)
containsKey
in interface Map<String,Object>
containsKey
in interface Bindings
containsKey
in class SimpleBindings
Copyright © 2003-2014 Internet Archive. All Rights Reserved.