@Contract public interface InstantiationService
Factory
. The
system creates this service, and while
it can be injected into any service or
even looked up, it only has data
when called from inside the Factory.provide()
method of a Factory
.Modifier and Type | Method and Description |
---|---|
InstantiationData |
getInstantiationData()
This method may be called from inside the
implementation of
Factory.provide()
method to get more information about the
reason for instantiation. |
InstantiationData getInstantiationData()
Factory.provide()
method to get more information about the
reason for instantiation. If this method
is called outside the scope of a
Factory.provide()
method the results
are indeterminateFactory.provide()
method. May
return null if no information is known or
if called from outside of a Factory.provide()
methodCopyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.