org.apache.servicemix.jbi.api
Interface ClientFactory


public interface ClientFactory

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

Author:
Guillaume Nodet

Field Summary
static java.lang.String DEFAULT_JNDI_NAME
          Default location to where the object should be looked for in JNDI
 
Method Summary
 ServiceMixClient createClient()
          Create a new client to interact with the JBI bus
 

Field Detail

DEFAULT_JNDI_NAME

static final java.lang.String DEFAULT_JNDI_NAME
Default location to where the object should be looked for in JNDI

See Also:
Constant Field Values
Method Detail

createClient

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

Returns:
a client
Throws:
javax.jbi.JBIException - if an error occurs


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