Class GraphqlServiceFactory
java.lang.Object
com.gigaspaces.internal.services.ServiceFactory
com.gigaspaces.internal.services.SpringBootServiceFactory
com.gigaspaces.internal.services.GraphqlServiceFactory
ServiceFactory implementation that launches the XAP GraphQL Server as an embedded Spring Boot
application inside an isolated classloader - same shape as
McpServiceFactory and
RestV3ServiceFactory (PIC-6253).
No extra launch arguments are needed: the GraphQL service's own application.properties
already reads SERVER_PORT (assigned per-process by
GSAImpl.assignServicePort()) and XAP_LOOKUP_LOCATOR/XAP_LOOKUP_GROUP
(the same environment-variable convention as the MCP server) directly, so the defaults from
SpringBootServiceFactory.buildLaunchArgs() are sufficient.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class SpringBootServiceFactory
buildLaunchArgs, createService, getServiceClassName, initializeClasspath, parentClassLoaderMethods inherited from class ServiceFactory
startService, toString
-
Constructor Details
-
GraphqlServiceFactory
public GraphqlServiceFactory()
-
-
Method Details
-
getServiceName
- Specified by:
getServiceNamein classServiceFactory
-
logger
protected org.slf4j.Logger logger()Description copied from class:SpringBootServiceFactoryLogger used for the "service terminated" message on shutdown.- Specified by:
loggerin classSpringBootServiceFactory
-
getBootJarPath
Description copied from class:SpringBootServiceFactoryPath to this service's own Spring Boot fat jar.- Specified by:
getBootJarPathin classSpringBootServiceFactory
-