protected void buildConnections(ServiceAssembly sa) throws JBIException {
if (sa != null) {
Connection[] connections = sa.getConnections().getConnection();
if (connections != null) {
for (int i = 0; i < connections.length; i++) {
Connection connection = connections[i];
Consumer consumer = connection.getConsumer();
Provider provider = connection.getProvider();
QName suName = consumer.getInterfaceName();
if (suName != null) {
LocalComponentConnector lcc = (LocalComponentConnector) container.getRegistry()
.getComponentConnector(suName);
if (lcc != null) {