org.jboss.aop.advice
Class AspectDefinition
java.lang.Object
org.jboss.aop.advice.AspectDefinition
public class AspectDefinition
- extends Object
Contains definition of aspect or interceptor
Scope defaults to PER_VM if it is null.
- Version:
- $Revision: 61299 $
- Author:
- Bill Burke
name
protected String name
scope
protected Scope scope
factory
protected AspectFactory factory
deployed
protected boolean deployed
advisors
public Map advisors
- Deprecated. Should not access from outside this class
AspectDefinition
public AspectDefinition(String name,
Scope scope,
AspectFactory factory)
- Parameters:
name
- scope
- defaults to PER_VM if nullfactory
-
AspectDefinition
public AspectDefinition()
undeploy
public void undeploy()
isDeployed
public boolean isDeployed()
setName
public void setName(String name)
setScope
public void setScope(Scope scope)
setFactory
public void setFactory(AspectFactory factory)
getFactory
public AspectFactory getFactory()
getName
public String getName()
getScope
public Scope getScope()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
registerAdvisor
public void registerAdvisor(Advisor advisor)
unregisterAdvisor
public void unregisterAdvisor(Advisor advisor)
Copyright © 2004 JBoss Inc. All Rights Reserved.