public class PropertyConduitSourceImpl extends java.lang.Object implements PropertyConduitSource
Constructor and Description |
---|
PropertyConduitSourceImpl(PropertyAccess access,
PlasticProxyFactory proxyFactory,
TypeCoercer typeCoercer,
StringInterner interner) |
Modifier and Type | Method and Description |
---|---|
PropertyConduit |
create(java.lang.Class rootClass,
java.lang.String expression)
Returns a property conduit instance for the given expression.
|
void |
listenForInvalidations(InvalidationEventHub hub) |
static java.lang.NullPointerException |
nullTerm(java.lang.String term,
java.lang.String expression,
java.lang.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(java.lang.Class rootClass, java.lang.String expression)
PropertyConduitSource
InvalidationEventHub
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 PropertyConduitSource
rootClass
- the type of the root object to which the expression is appliedexpression
- expression to be evaluated on instances of the root classpublic static java.lang.NullPointerException nullTerm(java.lang.String term, java.lang.String expression, java.lang.Object root)
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.