@@ -0,0 +1,2276 @@
+package org.openspaces.grid.gsa;%0A%0Aimport com.gigaspaces.start.SystemBoot;%0A%0Apublic class GridServiceAgentConfigurer %7B%0A    %0A    private int gsc = 0;%0A    private int gsm = 0;%0A    private int gsmLus = 0;%0A    private int lus = 0;%0A    %0A    private int globalGsc = 0;%0A    private int globalGsm = 0;%0A    private int globalGsmLus = 0;%0A    private int globalLus = 0;%0A    %0A    public GridServiceAgentConfigurer locallyManagedGridServiceContainers(int n) %7B%0A        this.gsc = n;%0A        return this;%0A    %7D%0A    %0A    public GridServiceAgentConfigurer locallyManagedGridServiceManagers(int n) %7B%0A        this.gsm = n;%0A        return this;%0A    %7D%0A%0A    public GridServiceAgentConfigurer locallyManagedGridServiceManagersWithLookupService(int n) %7B%0A        this.gsmLus = n;%0A        return this;%0A    %7D%0A%0A    public GridServiceAgentConfigurer locallyManagedLookupServices(int n) %7B%0A        this.lus = n;%0A        return this;%0A    %7D%0A    %0A    public GridServiceAgentConfigurer globallyManagedGridServiceContainers(int n) %7B%0A        this.globalGsc = n;%0A        return this;%0A    %7D%0A    %0A    public GridServiceAgentConfigurer globallyManagedGridServiceManagers(int n) %7B%0A        this.globalGsm = n;%0A        return this;%0A    %7D%0A    %0A    public GridServiceAgentConfigurer globallyManagedGridServiceManagersWithLookupService(int n) %7B%0A        this.globalGsmLus = n;%0A        return this;%0A    %7D%0A    %0A    public GridServiceAgentConfigurer globallyManageLookupService(int n) %7B%0A        this.globalLus = n;%0A        return this;%0A    %7D%0A    %0A    public void create() %7B%0A        new Thread(new Runnable() %7B%0A            public void run() %7B%0A                SystemBoot.main(new String%5B%5D%7B%22com.gigaspaces.start.services=%5C%22GSA%5C%22%22,%0A                        %22gsa.gsc%22, String.valueOf(gsc),%0A                        %22gsa.gsm%22, String.valueOf(gsm),%0A                        %22gsa.gsm_lus%22, String.valueOf(gsmLus),%0A                        %22gsa.lus%22, String.valueOf(lus),%0A                        %22gsa.global.gsc%22, String.valueOf(globalGsc),%0A                        %22gsa.global.gsm%22, String.valueOf(globalGsm),%0A                        %22gsa.global.gsm_lus%22, String.valueOf(globalGsmLus),%0A                        %22gsa.global.lus%22, String.valueOf(globalLus),%0A                        %7D);%0A            %7D%0A        %7D,%22GSAgentStarter%22).start();%0A    %7D%0A%7D%0A

Add GridServiceAgentConfigurer allowing to start embedded GSA