|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.definition.MixinDefinition
public class MixinDefinition
Definition for the mixin construct.
Constructor Summary | |
---|---|
MixinDefinition(ClassInfo mixinClass,
DeploymentModel deploymentModel,
boolean isTransient,
SystemDefinition systemDef)
Construct a new definition for mixin. |
Method Summary | |
---|---|
void |
addExpressionInfo(ExpressionInfo expression)
Adds a new expression info. |
void |
addExpressionInfos(ExpressionInfo[] expressions)
Adds an array with new expression infos. |
void |
addParameter(String name,
String value)
Adds a new parameter to the mixin. |
String |
getAttribute()
Returns the attribute. |
DeploymentModel |
getDeploymentModel()
Returns the deployment model. |
ExpressionInfo[] |
getExpressionInfos()
Returns the expressions. |
String |
getFactoryClassName()
Returns the factory class name. |
List |
getInterfaceClassNames()
Returns the class name of the interface. |
List |
getMethodsToIntroduce()
Returns the methods to introduce. |
ClassInfo |
getMixinImpl()
Returns the class info for the mixin impl. |
Map |
getParameters()
Returns the parameters as a Map. |
SystemDefinition |
getSystemDefinition()
Returns the system definition. |
boolean |
isTransient()
Checks if the mixin is transient. |
void |
setAttribute(String attribute)
Sets the attribute. |
void |
setDeploymentModel(DeploymentModel deploymentModel)
Sets the deployment model. |
void |
setFactoryClassName(String factoryClassName)
Sets the factory class name. |
void |
setTransient(boolean isTransient)
Sets the mixin as transient. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MixinDefinition(ClassInfo mixinClass, DeploymentModel deploymentModel, boolean isTransient, SystemDefinition systemDef)
mixinClass
- the mixin classdeploymentModel
- mixin deployment modelisTransient
- transient flagsystemDef
- the system definitionMethod Detail |
---|
public void setFactoryClassName(String factoryClassName)
factoryClassName
- public String getFactoryClassName()
public List getMethodsToIntroduce()
public DeploymentModel getDeploymentModel()
public void setDeploymentModel(DeploymentModel deploymentModel)
deploymentModel
- public boolean isTransient()
public void setTransient(boolean isTransient)
isTransient
- public ClassInfo getMixinImpl()
public ExpressionInfo[] getExpressionInfos()
public List getInterfaceClassNames()
public String getAttribute()
public void setAttribute(String attribute)
attribute
- the attributepublic SystemDefinition getSystemDefinition()
public void addExpressionInfo(ExpressionInfo expression)
expression
- a new expression infopublic void addExpressionInfos(ExpressionInfo[] expressions)
expressions
- an array with new expression infospublic void addParameter(String name, String value)
name
- the name of the parametervalue
- the value for the parameterpublic Map getParameters()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |