Package org.codehaus.aspectwerkz

Examples of org.codehaus.aspectwerkz.DeploymentModel


     */
    protected void loadAspect(final CodeVisitor cv,
                              final boolean isOptimizedJoinPoint,
                              final int joinPointIndex,
                              final AspectInfo aspectInfo) {
        DeploymentModel deploymentModel = aspectInfo.getDeploymentModel();
        if (deploymentModel.equals(DeploymentModel.PER_JVM) ||
            deploymentModel.equals(DeploymentModel.PER_CLASS)) {
            cv.visitFieldInsn(
                    GETSTATIC, m_joinPointClassName, aspectInfo.getAspectFieldName(),
                    aspectInfo.getAspectClassSignature()
            );
        } else if (deploymentModel.equals(DeploymentModel.PER_INSTANCE)) {
            loadJoinPointInstance(cv, isOptimizedJoinPoint, joinPointIndex);
            cv.visitFieldInsn(
                    GETFIELD, m_joinPointClassName, aspectInfo.getAspectFieldName(),
                    aspectInfo.getAspectClassSignature()
            );
View Full Code Here

TOP

Related Classes of org.codehaus.aspectwerkz.DeploymentModel

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.