public class PropertyConduitSourceImpl extends Object implements PropertyConduitSource
| Constructor and Description |
|---|
PropertyConduitSourceImpl(PropertyAccess access,
PlasticProxyFactory proxyFactory,
TypeCoercer typeCoercer,
StringInterner interner) |
| Modifier and Type | Method and Description |
|---|---|
PropertyConduit |
create(Class rootClass,
String expression)
Returns a property conduit instance for the given expression.
|
void |
listenForInvalidations(InvalidationEventHub hub) |
static NullPointerException |
nullTerm(String term,
String expression,
Object root)
May be invoked from fabricated PropertyConduit instances.
|
public PropertyConduitSourceImpl(PropertyAccess access, @ComponentLayer PlasticProxyFactory proxyFactory, TypeCoercer typeCoercer, StringInterner interner)
@PostInjection public void listenForInvalidations(@ComponentClasses InvalidationEventHub hub)
public PropertyConduit create(Class rootClass, String expression)
PropertyConduitSourceInvalidationEventHub
for ComponentClasses and discard any aquired conduits; failure to do so
will create memory leaks whenever component classes change (the conduits will keep references to the old classes
and classloaders).create in interface PropertyConduitSourcerootClass - the type of the root object to which the expression is appliedexpression - expression to be evaluated on instances of the root classpublic static NullPointerException nullTerm(String term, String expression, Object root)
5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.