public class Pipeline extends Object
Pipeline represents a ‘collection’ of server connections (aka
Pipes). The Pipeline contains some simple management APIs to
create or remove Pipes objects.
As a note, you should NOT extend this class for production or application
purposes. This class is made non-final ONLY for testing/mocking/academic
purposes.| Constructor and Description |
|---|
Pipeline(String baseURL)
An initializer method to instantiate the Pipeline,
|
Pipeline(URL baseURL)
An initializer method to instantiate the Pipeline,
|
Pipeline(URL baseURL,
PipeFactory pipeFactory)
An initializer method to instantiate the Pipeline,
|
public Pipeline(URL baseURL)
baseURL - the URL of the serverpublic Pipeline(URL baseURL, PipeFactory pipeFactory)
baseURL - the URL of the serverpipeFactory - public Pipeline(String baseURL)
baseURL - the URL of the serverIllegalArgumentException - if baseURL is not a valid URLpublic Pipe pipe(Class klass, PipeConfig config)
public Pipe remove(String name)
name - the name of the actual pipeCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.