You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IWeaveRequestor.java 1.3KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*******************************************************************************
  2. * Copyright (c) 2004 IBM Corporation and others.
  3. * All rights reserved. This program and the accompanying materials
  4. * are made available under the terms of the Eclipse Public License v1.0
  5. * which accompanies this distribution, and is available at
  6. * http://www.eclipse.org/legal/epl-v10.html
  7. *
  8. * Contributors:
  9. * IBM Corporation - initial API and implementation
  10. *******************************************************************************/
  11. package org.aspectj.weaver;
  12. /**
  13. * @author colyer
  14. *
  15. * This interface is implemented by clients driving weaving through the IClassFileProvider interface. It is used by the
  16. * weaver to return woven class file results back to the client. The client can correlate weave results with inputs since it
  17. * knows the last UnwovenClassFile returned by its iterator.
  18. */
  19. public interface IWeaveRequestor {
  20. /*
  21. * A class file resulting from a weave (yes, even though the type name says "unwoven"...).
  22. */
  23. void acceptResult(IUnwovenClassFile result);
  24. // various notifications to the requestor about our progress...
  25. void processingReweavableState();
  26. void addingTypeMungers();
  27. void weavingAspects();
  28. void weavingClasses();
  29. void weaveCompleted();
  30. }