public class LoaderInstantiatorFactory extends AbstractInstantiatorFactory implements Function<ClassLoader,Boolean>
MARKER
Constructor and Description |
---|
LoaderInstantiatorFactory() |
Modifier and Type | Method and Description |
---|---|
Boolean |
apply(ClassLoader tccl)
Returns the result of applying this function to
input . |
void |
cleanup()
Called by Weld when it is shutting down, allowing the service to perform any cleanup needed.
|
boolean |
useInstantiators() |
checkInstantiator, getInstantiator
public boolean useInstantiators()
useInstantiators
in interface InstantiatorFactory
public void cleanup()
Service
public Boolean apply(ClassLoader tccl)
Function
input
. This method is generally
expected, but not absolutely required, to have the following properties:
Objects.equal
(a, b)
implies that Objects.equal(function.apply(a),
function.apply(b))
.
apply
in interface Function<ClassLoader,Boolean>
Copyright © 2013 Seam Framework. All Rights Reserved.