Package com.vmware.vim.binding.impl.vim.event

Examples of com.vmware.vim.binding.impl.vim.event.EventFilterSpecImpl


    * These events are explicitly listed in VcEventType.
    * @return EventFilterSpec
    */
   private EventFilterSpec createEventFilterSpec() {
      AuAssert.check(targetMoRef != null);
      EventFilterSpec efs = new EventFilterSpecImpl();
      String[] eventTypeIds = VcEventType.getEventTypeIds();
      logger.info("Subscribing to vc events:");
      for (String eventId : eventTypeIds) {
         logger.info("\t" + eventId);
      }
      efs.setEntity(new EventFilterSpecImpl.ByEntityImpl(
            targetMoRef,
            EventFilterSpec.RecursionOption.all));
      efs.setEventTypeId(eventTypeIds);
      return efs;
   }
View Full Code Here

TOP

Related Classes of com.vmware.vim.binding.impl.vim.event.EventFilterSpecImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.