Package org.apache.cxf.jaxws.support
Class ServiceDelegateAccessor
- java.lang.Object
-
- org.apache.cxf.jaxws.support.ServiceDelegateAccessor
-
public final class ServiceDelegateAccessor extends Object
A utility that allows access to the 'private' implementation specific delegate of a Service. Useful when extensions to the JAXWS Service supported methods are required.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServiceImpl
get(javax.xml.ws.Service service)
Get the delegate reference from the Service private field.
-
-
-
Method Detail
-
get
public static ServiceImpl get(javax.xml.ws.Service service)
Get the delegate reference from the Service private field. This method uses Field.setAccessible() which, in the presence of a SecurityManager, requires the suppressAccessChecks permission- Parameters:
service
- the taraget service- Returns:
- the implementation delegate
- Throws:
javax.xml.ws.WebServiceException
- if access to the field fails for any reason
-
-