com.xenonsoft.bridgetown.soa.config
Class PointcutConfig

java.lang.Object
  extended bycom.xenonsoft.bridgetown.soa.config.PointcutConfig
All Implemented Interfaces:
java.io.Serializable

public class PointcutConfig
extends java.lang.Object
implements java.io.Serializable

This is an object that stores an pointcut AOP data after parsing the bridgetown XML configuration file.

This is a configuration class for assembly factories that supports aspect oriented proxies

Version:
$Id: PointcutConfig.java,v 1.9 2005/03/29 23:41:24 peter_pilgrim Exp $
Author:
Peter Pilgrim, 27-Sep-2004 20:02:57
See Also:
Serialized Form

Field Summary
static java.lang.String GLOBAL_CONTEXT_NAME
          A special identifier that identifies the global context for a global pointcut.
 
Constructor Summary
PointcutConfig()
          Default constructor
 
Method Summary
 void addParameter(ParameterConfig parameter)
          Adds a new parameter configuration to this pointcut.
 java.lang.String getContextName()
          Gets the contextName
 java.lang.String getDescription()
          Gets the description
 InvokeMethodConfig getInvokeMethod()
          Gets the invoke method configuration
 JoinpointsConfig getJoinpointsConfig()
          Gets the joinpointsConfig
 java.lang.String getName()
          Gets the pointcut name
 java.util.Map getParameters()
          Gets the parameters
 java.util.List getParametersList()
          A convenience method that retrieves a shallow copy of the properties config collection as a list collection
 TransactionConfig getTransactionConfig()
          Gets the transactionConfig
 java.lang.String getType()
          Gets the type implementation class
 void setContextName(java.lang.String contextName)
          Sets the contextName
 void setDescription(java.lang.String description)
          Sets the description
 void setInvokeMethod(InvokeMethodConfig invokeMethod)
          Sets the invoke method configuration
 void setJoinpointsConfig(JoinpointsConfig joinpointsConfig)
          Sets the joinpointsConfig
 void setName(java.lang.String name)
          Sets the pointcut name
 void setParameters(java.util.Map parameters)
          Sets the parameters
 void setTransactionConfig(TransactionConfig transactionConfig)
          Sets the transactionConfig
 void setType(java.lang.String type)
          Sets the type implementation class
 java.lang.String toString()
          Gets debuggable string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

GLOBAL_CONTEXT_NAME

public static final java.lang.String GLOBAL_CONTEXT_NAME
A special identifier that identifies the global context for a global pointcut.

See Also:
Constant Field Values
Constructor Detail

PointcutConfig

public PointcutConfig()
Default constructor

Method Detail

getName

public java.lang.String getName()
Gets the pointcut name

Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Sets the pointcut name

Parameters:
name - the new value for name

getContextName

public java.lang.String getContextName()
Gets the contextName

Returns:
Returns the contextName.

setContextName

public void setContextName(java.lang.String contextName)
Sets the contextName

Parameters:
contextName - The contextName to set.

getDescription

public java.lang.String getDescription()
Gets the description

Returns:
Returns the description.

setDescription

public void setDescription(java.lang.String description)
Sets the description

Parameters:
description - the new value for description

getType

public java.lang.String getType()
Gets the type implementation class

Returns:
Returns the type.

setType

public void setType(java.lang.String type)
Sets the type implementation class

Parameters:
type - the new value for type

getJoinpointsConfig

public JoinpointsConfig getJoinpointsConfig()
Gets the joinpointsConfig

Returns:
Returns the joinpointsConfig.

setJoinpointsConfig

public void setJoinpointsConfig(JoinpointsConfig joinpointsConfig)
Sets the joinpointsConfig

Parameters:
joinpointsConfig - The joinpointsConfig to set.

getInvokeMethod

public InvokeMethodConfig getInvokeMethod()
Gets the invoke method configuration

Returns:
Returns the invokeMethod.

setInvokeMethod

public void setInvokeMethod(InvokeMethodConfig invokeMethod)
Sets the invoke method configuration

Parameters:
invokeMethod - the new value for invokeMethod

getTransactionConfig

public TransactionConfig getTransactionConfig()
Gets the transactionConfig

Returns:
Returns the transactionConfig.

setTransactionConfig

public void setTransactionConfig(TransactionConfig transactionConfig)
Sets the transactionConfig

Parameters:
transactionConfig - The transactionConfig to set.

getParameters

public java.util.Map getParameters()
Gets the parameters

Returns:
Returns the parameters.

setParameters

public void setParameters(java.util.Map parameters)
Sets the parameters

Parameters:
parameters - the new value for parameters

getParametersList

public java.util.List getParametersList()
A convenience method that retrieves a shallow copy of the properties config collection as a list collection

Returns:
Returns the properties as a list collection

addParameter

public void addParameter(ParameterConfig parameter)
Adds a new parameter configuration to this pointcut. A pointcut can have an arbitary collection of properties.

Parameters:
parameter - the parameter config object
See Also:
IPointCut.getParameter(String)

toString

public java.lang.String toString()
Gets debuggable string



Copyright © 2005 XeNoNSoFT.com. All Rights Reserved.