private static void addProperties ( EndpointReferenceType epr , SLProperties props ) { MetadataType metadata = WSAEndpointReferenceUtils . getSetMetadata ( epr ) ; ServiceLocatorPropertiesType jaxbProps = SLPropertiesConverter . toServiceLocatorPropertiesType ( props ) ; JAXBElement < ServiceLocatorPropertiesType > slp = SL_OBJECT_FACTORY . createServiceLocatorProperties ( jaxbProps ) ; metadata . getAny ( ) . add ( slp ) ; }
Adds service locator properties to an endpoint reference .