resourceProperty.add(resourceIdDocument);
resourceProperty.addChangeListener(identityCapability);//add for management events
//current time is done like in Apollo
resourceProperty = resourcePropertySet.get(WeatherstationPropertyQNames.CURRENTTIME);
CurrentTimeDocument currentTimeDocument = CurrentTimeDocument.Factory.newInstance();
currentTimeDocument.setCurrentTime(Calendar.getInstance());
resourceProperty.add(currentTimeDocument);
resourceProperty.setCallback(new org.apache.ws.resource.lifetime.callback.CurrentTimeCallback());
resourceProperty.addChangeListener(metricsCapability);//add for management events
resourceProperty = resourcePropertySet.get(WeatherstationPropertyQNames.OPERATIONALSTATUS);