Package com.jk.services.crosscutting
Class JKCrossCuttingApp
java.lang.Object
jakarta.ws.rs.core.Application
org.glassfish.jersey.server.ResourceConfig
com.jk.services.server.JKServiceConfig
com.jk.services.crosscutting.JKCrossCuttingApp
- All Implemented Interfaces:
jakarta.ws.rs.core.Configurable<org.glassfish.jersey.server.ResourceConfig>
,jakarta.ws.rs.core.Configuration
,org.glassfish.jersey.ExtendedConfig
,org.glassfish.jersey.server.ServerConfig
This class extends
JKServiceConfig
and provides a method to start the
cross-cutting application.- Version:
- 1.0
- Author:
- Dr. Jalal H. Kiswani
-
Field Summary
Fields inherited from class com.jk.services.server.JKServiceConfig
LOAD_TIME, logger
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.jk.services.server.JKServiceConfig
getApplicationName, getPackagesToScan, init, registerComponents
Methods inherited from class org.glassfish.jersey.server.ResourceConfig
addProperties, files, files, forApplication, forApplicationClass, forApplicationClass, getApplication, getApplicationPath, getClasses, getClassLoader, getConfiguration, getContracts, getInstances, getProperties, getProperty, getPropertyNames, getResources, getRuntimeType, getSingletons, hasProperty, isEnabled, isEnabled, isProperty, isRegistered, isRegistered, packages, packages, packages, property, register, register, register, register, register, register, register, register, registerClasses, registerClasses, registerFinder, registerInstances, registerInstances, registerResources, registerResources, setApplicationName, setClassLoader, setProperties
-
Constructor Details
-
JKCrossCuttingApp
public JKCrossCuttingApp()
-
-
Method Details
-
main
This main method is responsible for starting the cross-cutting application on port8526
.- Parameters:
args
- the command-line arguments.
-