public interface ServiceContainerSenderCreationListener
ServiceContainer may create new senders - for example, when a remote stream is
being received by a remote client and a sender is created in order to retrieve the stream data from the client.
Because senders are typically a highly configured object and because the service container won't know all the
different configurations a sender needs to have, this listener object is used to notify other objects when a sender
object is created by the service container. Listeners are registered on the service container; when the service
container creates a new sender object, the listeners are notified, giving them an opportunity to complete the
configuration of the sender.| Modifier and Type | Method and Description |
|---|---|
void |
postCreate(ServiceContainer serviceContainer,
ClientCommandSender sender)
Called when the given service container has finished creating the given sender.
|
void |
preCreate(ServiceContainer serviceContainer,
RemoteCommunicator remoteCommunicator,
ClientCommandSenderConfiguration senderConfiguration)
Called when the given service container is going to create a sender.
|
void preCreate(ServiceContainer serviceContainer, RemoteCommunicator remoteCommunicator, ClientCommandSenderConfiguration senderConfiguration)
serviceContainer - the service container that is creating the senderremoteCommunicator - the communicator that will be used by the sendersenderConfiguration - the actual configuration for the sendervoid postCreate(ServiceContainer serviceContainer, ClientCommandSender sender)
serviceContainer - the service container that created the sendersender - the sender that was just createdCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.