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);
OperationalStatusDocument operationalStatusDocument = OperationalStatusDocument.Factory.newInstance();
operationalStatusDocument.setOperationalStatus(OperationalStatusDocument.OperationalStatus.AVAILABLE);
resourceProperty.add(operationalStatusDocument);
resourceProperty.addChangeListener(operationalStatusCapability);//add for management events
resourceProperty = resourcePropertySet.get(WeatherstationPropertyQNames.CORRELATABLEPROPERTIES);
CorrelatablePropertiesDocument correlatablePropertiesDocument = CorrelatablePropertiesDocument.Factory.newInstance();