public class Reference extends StackProvider
The following types of objects are searched for a matching id, in this order:
Modifier and Type | Method and Description |
---|---|
Stack |
get()
Gets or creates an object of type
T . |
String |
getId() |
void |
setId(String id) |
getAsStack
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public Reference(String id)
public Reference()
public Stack get() throws ProvisionFailedException
Provider
T
.ProvisionFailedException
- if the object cannot be returned.public String getId()
public void setId(String id)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.