org.jboss.aop.advice
Class AspectDefinition

java.lang.Object
  extended by 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

Field Summary
 Map advisors
          Deprecated. Should not access from outside this class
protected  boolean deployed
           
protected  AspectFactory factory
           
protected  String name
           
protected  Scope scope
           
 
Constructor Summary
AspectDefinition()
           
AspectDefinition(String name, Scope scope, AspectFactory factory)
           
 
Method Summary
 boolean equals(Object obj)
           
 AspectFactory getFactory()
           
 String getName()
           
 Scope getScope()
           
 int hashCode()
           
 boolean isDeployed()
           
 void registerAdvisor(Advisor advisor)
           
 void setFactory(AspectFactory factory)
           
 void setName(String name)
           
 void setScope(Scope scope)
           
 void undeploy()
           
 void unregisterAdvisor(Advisor advisor)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

AspectDefinition

public AspectDefinition(String name,
                        Scope scope,
                        AspectFactory factory)
Parameters:
name -
scope - defaults to PER_VM if null
factory -

AspectDefinition

public AspectDefinition()
Method Detail

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.