/*******************************************************************************
 * Copyright (c) 2010, 2013 Sonatype, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Stuart McCulloch (Sonatype, Inc.) - initial API and implementation
 *******************************************************************************/
package org.sonatype.guice.bean.binders;

import java.util.List;

import com.google.inject.Module;

@Deprecated
public class WireModule
    extends org.eclipse.sisu.wire.WireModule
{
    public WireModule( final Module... modules )
    {
        super( modules );
    }

    public WireModule( final List<Module> modules )
    {
        super( modules );
    }
}

@@ -601,14 +601,72 @@
 til.
-List;%0A
+Arrays;%0Aimport java.util.List;%0A%0Aimport com.google.inject.Binder;
 %0Aimp
@@ -740,50 +740,63 @@
     
-extends org.eclipse.sisu.wire.WireModule%0A%7B
+implements Module%0A%7B%0A    private final Module delegate;%0A
 %0A   
@@ -847,37 +847,51 @@
 )%0A    %7B%0A        
-super
+this( Arrays.asList
 ( modules );%0A   
@@ -875,32 +875,34 @@
 .asList( modules
+ )
  );%0A    %7D%0A%0A    p
@@ -966,22 +966,164 @@
     
-super( modules
+delegate = new org.eclipse.sisu.wire.WireModule( modules );%0A    %7D%0A%0A    public void configure( final Binder binder )%0A    %7B%0A        delegate.configure( binder
  );%0A

Update to use new strategy pattern