|
|
@ -43,10 +43,12 @@ import org.springframework.boot.WebApplicationType; |
|
|
|
import org.springframework.boot.builder.SpringApplicationBuilder; |
|
|
|
import org.springframework.boot.builder.SpringApplicationBuilder; |
|
|
|
import org.springframework.context.annotation.ComponentScan; |
|
|
|
import org.springframework.context.annotation.ComponentScan; |
|
|
|
import org.springframework.context.annotation.FilterType; |
|
|
|
import org.springframework.context.annotation.FilterType; |
|
|
|
|
|
|
|
import org.springframework.transaction.annotation.EnableTransactionManagement; |
|
|
|
|
|
|
|
|
|
|
|
@ComponentScan(value = "org.apache.dolphinscheduler", excludeFilters = { |
|
|
|
@ComponentScan(value = "org.apache.dolphinscheduler", excludeFilters = { |
|
|
|
@ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, classes = {WorkerServer.class}) |
|
|
|
@ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, classes = {WorkerServer.class}) |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
@EnableTransactionManagement |
|
|
|
public class MasterServer implements IStoppable { |
|
|
|
public class MasterServer implements IStoppable { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|