org.apache.servicemix.client
Interface ClientFactory

All Superinterfaces:
org.apache.servicemix.jbi.api.ClientFactory
All Known Subinterfaces:
ClientFactoryMBean
All Known Implementing Classes:
ClientFactory

Deprecated.

public interface ClientFactory
extends org.apache.servicemix.jbi.api.ClientFactory

An interface that defines a factory to create ServiceMixClient. An implementation should be bound in the JNDI context

Author:
Guillaume Nodet

Field Summary
 
Fields inherited from interface org.apache.servicemix.jbi.api.ClientFactory
DEFAULT_JNDI_NAME
 
Method Summary
 ServiceMixClient createClient()
          Deprecated. Create a new client to interact with the JBI bus
 

Method Detail

createClient

ServiceMixClient createClient()
                              throws javax.jbi.JBIException
Deprecated. 
Create a new client to interact with the JBI bus

Specified by:
createClient in interface org.apache.servicemix.jbi.api.ClientFactory
Returns:
a client
Throws:
javax.jbi.JBIException - if an error occurs


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.