Interface Application

All Superinterfaces:
org.glassfish.api.admin.config.ApplicationName, org.jvnet.hk2.config.ConfigBeanProxy, jakarta.validation.Payload, org.jvnet.hk2.config.types.PropertyBag

public interface Application extends org.glassfish.api.admin.config.ApplicationName, org.jvnet.hk2.config.types.PropertyBag
  • Field Details

  • Method Details

    • getContextRoot

      String getContextRoot()
      Gets the value of the contextRoot property.
      Returns:
      possible object is String
    • setContextRoot

      void setContextRoot(String contextRoot) throws PropertyVetoException
      Sets the value of the contextRoot property.
      Parameters:
      contextRoot - allowed object is String
      Throws:
      PropertyVetoException
    • getLocation

      String getLocation()
      Gets the value of the location property.
      Returns:
      possible object is String
    • setLocation

      void setLocation(String location) throws PropertyVetoException
      Sets the value of the location property.
      Parameters:
      location - allowed object is String
      Throws:
      PropertyVetoException
    • getObjectType

      @NotNull @NotNull String getObjectType()
      Gets the value of the objectType property.
      Returns:
      possible object is String
    • setObjectType

      void setObjectType(String objectType) throws PropertyVetoException
      Sets the value of the objectType property.
      Parameters:
      objectType - allowed object is String
      Throws:
      PropertyVetoException
    • getEnabled

      String getEnabled()
      Gets the value of the enabled property.
      Returns:
      possible object is String
    • setEnabled

      void setEnabled(String enabled) throws PropertyVetoException
      Sets the value of the enabled property.
      Parameters:
      enabled - allowed object is String
      Throws:
      PropertyVetoException
    • getLibraries

      String getLibraries()
      Gets the value of the libraries property.
      Returns:
      possible object is String
    • setLibraries

      void setLibraries(String libraries) throws PropertyVetoException
      Sets the value of the libraries property.
      Parameters:
      libraries - allowed object is String
      Throws:
      PropertyVetoException
    • getAvailabilityEnabled

      String getAvailabilityEnabled()
      Gets the value of the availabilityEnabled property.
      Returns:
      possible object is String
    • setAvailabilityEnabled

      void setAvailabilityEnabled(String availabilityEnabled) throws PropertyVetoException
      Sets the value of the availabilityEnabled property.
      Parameters:
      availabilityEnabled - allowed object is String
      Throws:
      PropertyVetoException
    • getAsyncReplication

      String getAsyncReplication()
      Gets the value of the asyncReplication property.
      Returns:
      possible object is String
    • setAsyncReplication

      void setAsyncReplication(String asyncReplication) throws PropertyVetoException
      Sets the value of the asyncReplication property.
      Parameters:
      asyncReplication - allowed object is String
      Throws:
      PropertyVetoException
    • getDirectoryDeployed

      String getDirectoryDeployed()
      Gets the value of the directoryDeployed property.
      Returns:
      possible object is String
    • setDirectoryDeployed

      void setDirectoryDeployed(String directoryDeployed) throws PropertyVetoException
      Sets the value of the directoryDeployed property.
      Parameters:
      directoryDeployed - allowed object is String
      Throws:
      PropertyVetoException
    • getDescription

      String getDescription()
      Gets the value of the description property.
      Returns:
      possible object is String
    • setDescription

      void setDescription(String description) throws PropertyVetoException
      Sets the value of the description property.
      Parameters:
      description - allowed object is String
      Throws:
      PropertyVetoException
    • getDeploymentOrder

      String getDeploymentOrder()
      Gets the value of the deploymentOrder property.
      Returns:
      possible object is String
    • setDeploymentOrder

      void setDeploymentOrder(String deploymentOrder) throws PropertyVetoException
      Sets the value of the deploymentOrder property.
      Parameters:
      deploymentOrder - allowed object is String
      Throws:
      PropertyVetoException
    • getModule

      List<Module> getModule()
    • getEngine

      List<Engine> getEngine()
      Gets the value of the engine property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the engine property.

      For example, to add a new item, do as follows:

       getEngine().add(newItem);
       

      Objects of the following type(s) are allowed in the list Engine

    • getResources

      Resources getResources()
    • setResources

      void setResources(Resources resources) throws PropertyVetoException
      Throws:
      PropertyVetoException
    • getAppTenants

      AppTenants getAppTenants()
    • setAppTenants

      void setAppTenants(AppTenants appTenants)
    • getExtensions

      List<ApplicationExtension> getExtensions()
    • getExtensionByType

      default <T extends ApplicationExtension> T getExtensionByType(Class<T> type)
      Get an extension of the specified type. If there is more than one, it is undefined as to which one is returned.
    • getExtensionsByType

      default <T extends ApplicationExtension> List<T> getExtensionsByType(Class<T> type)
      Get all extensions of the specified type. If there are none, and empty list is returned.
    • getModule

      default Module getModule(String moduleName)
    • getDeployProperties

      default Properties getDeployProperties()
    • getDeployParameters

      default org.glassfish.api.deployment.DeployCommandParameters getDeployParameters(ApplicationRef appRef)
    • getModulePropertiesMap

      default Map<String,Properties> getModulePropertiesMap()
    • isStandaloneModule

      default boolean isStandaloneModule()
    • containsSnifferType

      default boolean containsSnifferType(String snifferType)
    • isLifecycleModule

      default boolean isLifecycleModule()
    • application

      default File application()
    • deploymentPlan

      default File deploymentPlan()
    • archiveType

      default String archiveType()
    • getProperty

      @ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<org.jvnet.hk2.config.types.Property> getProperty()
      Properties as per PropertyBag
      Specified by:
      getProperty in interface org.jvnet.hk2.config.types.PropertyBag