Petals SE JSR181

Access to SU context

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Won't Fix
  • Affects Version/s: 1.1.2
  • Fix Version/s: 1.3.0
  • Component/s: None
  • Security Level: Public
  • Description:

    JSR181 implementation class has no access to the service unit context, including (but not limited to ?):

    • The SU configuration
    • The SU installation directory
      (as well as any relevant SU-related context information).
  • Environment:
    All

Activity

Hide
Vincent Zurczak added a comment - Tue, 10 Apr 2012 - 19:18:12 +0200

The SU configuration should never be accessed directly.
If people want to add new parameters, they should add a properties file in the SU.
Additional resources can be used by using the class loader.

Here is an example.
As this use case is not very common, there is no interest in adding an API method for it, in particular when there is a workaround.

Show
Vincent Zurczak added a comment - Tue, 10 Apr 2012 - 19:18:12 +0200 The SU configuration should never be accessed directly. If people want to add new parameters, they should add a properties file in the SU. Additional resources can be used by using the class loader. Here is an example. As this use case is not very common, there is no interest in adding an API method for it, in particular when there is a workaround.

People

Dates

  • Created:
    Tue, 26 Oct 2010 - 11:53:22 +0200
    Updated:
    Tue, 10 Apr 2012 - 19:22:16 +0200
    Resolved:
    Tue, 10 Apr 2012 - 19:18:12 +0200