public class Reference extends MaskProvider
Modifier and Type | Method and Description |
---|---|
Mask |
get()
Gets or creates an object of type
T . |
String |
getId() |
boolean |
isDuplicate()
If true the channel is duplicated after it is retrieved, to prevent overwriting exisiting
data This is a shortcut to avoid embedding beans in a ChannelProviderDuplicate
|
void |
setDuplicate(boolean duplicate)
If true the channel is duplicated after it is retrieved, to prevent overwriting exisiting
data This is a shortcut to avoid embedding beans in a ChannelProviderDuplicate
|
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 Mask get() throws ProvisionFailedException
Provider
T
.ProvisionFailedException
- if the object cannot be returned.public String getId()
public void setId(String id)
public boolean isDuplicate()
public void setDuplicate(boolean duplicate)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.