Save This Page
Home » activemq-parent-5.3.1-source-release » org.apache » activemq » transport » [javadoc | source]
org.apache.activemq.transport
abstract public class: TransportFactory [javadoc | source]
java.lang.Object
   org.apache.activemq.transport.TransportFactory

Direct Known Subclasses:
    VMTransportFactory, TcpTransportFactory, UdpTransportFactory, StompNIOTransportFactory, HttpTransportFactory, FanoutTransportFactory, FailoverTransportFactory, HttpsTransportFactory, SslTransportFactory, PeerTransportFactory, XmppTransportFactory, StompSslTransportFactory, StompTransportFactory, MockTransportFactory, MulticastTransportFactory, NIOTransportFactory, DiscoveryTransportFactory

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Method from org.apache.activemq.transport.TransportFactory Summary:
bind,   bind,   bind,   compositeConfigure,   compositeConnect,   compositeConnect,   configure,   connect,   connect,   createTransport,   createWireFormat,   createWireFormatFactory,   doBind,   doCompositeConnect,   doCompositeConnect,   doConnect,   doConnect,   getDefaultWireFormatType,   registerTransportFactory,   serverConfigure
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.transport.TransportFactory Detail:
 public static TransportServer bind(URI location) throws IOException 
 public static TransportServer bind(String brokerId,
    URI location) throws IOException 
Deprecated!
 public static TransportServer bind(BrokerService brokerService,
    URI location) throws IOException 
 public Transport compositeConfigure(Transport transport,
    WireFormat format,
    Map options) 
    Similar to configure(...) but this avoid adding in the MutexTransport and ResponseCorrelator transport layers so that the resulting transport can more efficiently be used as part of a composite transport.
 public static Transport compositeConnect(URI location) throws Exception 
    Creates a slimmed down transport that is more efficient so that it can be used by composite transports like reliable and HA.
 public static Transport compositeConnect(URI location,
    Executor ex) throws Exception 
    Creates a slimmed down transport that is more efficient so that it can be used by composite transports like reliable and HA.
 public Transport configure(Transport transport,
    WireFormat wf,
    Map options) throws Exception 
    Fully configures and adds all need transport filters so that the transport can be used by the JMS client.
 public static Transport connect(URI location) throws Exception 
    Creates a normal transport.
 public static Transport connect(URI location,
    Executor ex) throws Exception 
    Creates a normal transport.
 protected Transport createTransport(URI location,
    WireFormat wf) throws MalformedURLException, UnknownHostException, IOException 
    Factory method to create a new transport
 protected WireFormat createWireFormat(Map<String, String> options) throws IOException 
 protected WireFormatFactory createWireFormatFactory(Map<String, String> options) throws IOException 
 abstract public TransportServer doBind(URI location) throws IOException
 public Transport doCompositeConnect(URI location) throws Exception 
 public Transport doCompositeConnect(URI location,
    Executor ex) throws Exception 
 public Transport doConnect(URI location) throws Exception 
 public Transport doConnect(URI location,
    Executor ex) throws Exception 
 protected String getDefaultWireFormatType() 
 public static  void registerTransportFactory(String scheme,
    TransportFactory tf) 
    Allow registration of a transport factory without wiring via META-INF classes
 public Transport serverConfigure(Transport transport,
    WireFormat format,
    HashMap options) throws Exception 
    Fully configures and adds all need transport filters so that the transport can be used by the ActiveMQ message broker. The main difference between this and the configure() method is that the broker does not issue requests to the client so the ResponseCorrelator is not needed.