T- representation of entity data filtering requested by provider.
public abstract class AbstractObjectProvider<T> extends Object implements ObjectProvider<T>, ObjectGraphTransformer<T>
object graph transformer.
Extensions of this class must provide a type of entity-filtering object (via generic type parameter) the requesting provider
(e.g. message body worker) is familiar with and an implementation of
ObjectGraphTransformer.transform(ObjectGraph) method for this type.
|Constructor and Description|
|Modifier and Type||Method and Description|
Get reader/writer entity-filtering object for given type.
A helper method for a creation of an immutable set based on a provided set together with a given item.
Creates a string identifier of a sub-graph.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public final T getFilteringObject(Type genericType, boolean forWriter, Annotation... annotations)
genericType- type for which the object is requested.
forWriter- flag to determine whether to create object for reading/writing purposes.
annotations- entity annotations to determine the runtime scope.
set- The set to create the immutable set from.
item- The item to add to the set before it's made immutable.
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.