public abstract class WithChannelBase extends ObjectCollectionProvider
Constructor and Description |
---|
WithChannelBase() |
Modifier and Type | Method and Description |
---|---|
protected abstract ObjectCollection |
createFromChannel(Channel channelSrc) |
ObjectCollection |
get()
Gets or creates an object of type
T . |
ChannelProvider |
getChannel() |
void |
setChannel(ChannelProvider channel) |
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public ObjectCollection get() throws ProvisionFailedException
Provider
T
.ProvisionFailedException
- if the object cannot be returned.protected abstract ObjectCollection createFromChannel(Channel channelSrc) throws ProvisionFailedException
ProvisionFailedException
public ChannelProvider getChannel()
public void setChannel(ChannelProvider channel)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.