KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > aspectwerkz > definition > deployer > AspectModuleDeployer


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4
5 package com.tc.aspectwerkz.definition.deployer;
6
7 import com.tc.aspectwerkz.DeploymentModel;
8
9 /**
10  * TODO document class
11  *
12  * @author Jonas Bonér
13  */

14 public interface AspectModuleDeployer {
15
16   /**
17    * Creates, registers and returns an aspect definition builder.
18    * Use-case: Get an aspect builder and then use it to add advice and pointcut builders to build up a full aspect
19    * definintion programatically.
20    *
21    * @param aspectClass
22    * @param scope
23    * @param containerClassName
24    * @return a newly registered aspect builder
25    */

26   public AspectDefinitionBuilder newAspectBuilder(String JavaDoc aspectClass, DeploymentModel scope, String JavaDoc containerClassName);
27
28   /**
29    * Creates and adds a new mixin builder to the deployment set.
30    *
31    * @param aspectClass
32    * @param deploymentModel
33    * @param pointcut
34    */

35   public void addMixin(String JavaDoc aspectClass, DeploymentModel deploymentModel, String JavaDoc pointcut, boolean isTransient);
36
37   /**
38    * Returns class loader
39    */

40   public ClassLoader JavaDoc getClassLoader();
41
42 }
43
44
Popular Tags