public abstract class UnaryWithObjectsBase extends ChannelProviderUnary
Constructor and Description |
---|
UnaryWithObjectsBase() |
Modifier and Type | Method and Description |
---|---|
Channel |
createFromChannel(Channel channel)
Creates a
Channel given the entity provided by the delegate. |
protected abstract Channel |
createFromChannel(Channel channel,
ObjectCollection objects) |
ObjectCollectionProvider |
getObjects() |
void |
setObjects(ObjectCollectionProvider objects) |
get, getChannel, setChannel
getAsStack
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public Channel createFromChannel(Channel channel) throws ProvisionFailedException
ChannelProviderUnary
Channel
given the entity provided by the delegate.createFromChannel
in class ChannelProviderUnary
channel
- the entity provided by the delegate.Channel
that is returned by the provider.ProvisionFailedException
- if the provider cannot complete successfully.protected abstract Channel createFromChannel(Channel channel, ObjectCollection objects) throws ProvisionFailedException
ProvisionFailedException
public ObjectCollectionProvider getObjects()
public void setObjects(ObjectCollectionProvider objects)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.