[ 
https://issues.apache.org/jira/browse/MUSE-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Jemiolo closed MUSE-187.
----------------------------

    Resolution: Fixed

Fixed - AxisEnvironment now has a createRealDirectory() that's protected. You 
can get the Axis2 MessageContext (as I do) using the static 
MessageContext.getCurrentMessageContext() if you need to.

Also, because this method is called in the constructor, remember that it will 
be called before anything in your subclass has been instantiated, so don't try 
to reference member fields when you override the method (static fields may 
work). If this is going to be a problem, let me know so I can change it.

> Isolate Axis2 environment directory handling
> --------------------------------------------
>
>                 Key: MUSE-187
>                 URL: https://issues.apache.org/jira/browse/MUSE-187
>             Project: Muse
>          Issue Type: Improvement
>          Components: Deployment - Axis2, Deployment - OSGi
>    Affects Versions: 2.2.0
>         Environment: Axis2, OSGi-Axis2
>            Reporter: Joel Hawkins
>         Assigned To: Joel Hawkins
>             Fix For: 2.2.0
>
>
> During intialization, the Axis2 environment determines its default directory 
> inline in the constructor.  This code needs to be isolated into a protected 
> method that can be overridden by the OSGi Axis2Environment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to