m_resourceContext = new SushiResourceContext( );
// create and register callback object
SushiPlate plate = new SushiPlate( );
SushiCallback callback = new SushiCallback( plate );
SushiResource resource = (SushiResource) m_resourceContext.getResource( );
ResourceProperty resourceProp = resource.getResourcePropertySet( ).get( SushiPropertyQNames.EBI );
resourceProp.setCallback( callback );
// send GetRP request and make sure prop got updated by callback.refreshProperty()
GetResourcePropertyResponseDocument.GetResourcePropertyResponse response =
getResourceProperty( SushiPropertyQNames.EBI );