// Path: src/main/java/org/wmaop/aop/advice/Scope.java
// public enum Scope {
// 	ALL, GLOBAL, SESSION, USER;
// }
// 
// Path: src/main/java/org/wmaop/aop/advice/Scope.java
// public enum Scope {
// 	ALL, GLOBAL, SESSION, USER;
// }


import static org.wmaop.aop.advice.Scope.*;
import org.wmaop.aop.advice.Scope;
import com.wm.app.b2b.server.InvokeState;
import com.wm.app.b2b.server.Session;
package org.wmaop.aop.advice.remit;




public class SessionRemit implements Remit {

	public static final String NO_SESSION = "NoSession";
	
	private final String associatedSessionId;
	
	public SessionRemit() {
		associatedSessionId = getSessionID();
	}
	
	public SessionRemit(String associatedSessionId) {
		this.associatedSessionId = associatedSessionId;
	}
	
	@Override
	public boolean isApplicable() {
		return getSessionID().equals(associatedSessionId);
	}

	@Override
// Path: src/main/java/org/wmaop/aop/advice/Scope.java
// public enum Scope {
// 	ALL, GLOBAL, SESSION, USER;
// }
// 
// Path: src/main/java/org/wmaop/aop/advice/Scope.java
// public enum Scope {
// 	ALL, GLOBAL, SESSION, USER;
// }


// Path: src/main/java/org/wmaop/aop/advice/remit/SessionRemit.java
import static org.wmaop.aop.advice.Scope.*;
import org.wmaop.aop.advice.Scope;
import com.wm.app.b2b.server.InvokeState;
import com.wm.app.b2b.server.Session;

package org.wmaop.aop.advice.remit;




public class SessionRemit implements Remit {

	public static final String NO_SESSION = "NoSession";
	
	private final String associatedSessionId;
	
	public SessionRemit() {
		associatedSessionId = getSessionID();
	}
	
	public SessionRemit(String associatedSessionId) {
		this.associatedSessionId = associatedSessionId;
	}
	
	@Override
	public boolean isApplicable() {
		return getSessionID().equals(associatedSessionId);
	}

	@Override
	public boolean isApplicable(Scope scope) {