org.codehaus.aspectwerkz
Class DeploymentModel
java.lang.Object
org.codehaus.aspectwerkz.DeploymentModel
- public final class DeploymentModel
- extends java.lang.Object
Enum containing the different deployment model types.
Used to be type-safe but that added to much overhead (0.00004 ms/call)
compared to the current implementation.
- Author:
- Jonas Bonér
Method Summary |
static int |
getDeploymentModelAsInt(java.lang.String type)
Returns the deployment model for the string type. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PER_JVM
public static final int PER_JVM
- See Also:
- Constant Field Values
PER_CLASS
public static final int PER_CLASS
- See Also:
- Constant Field Values
PER_INSTANCE
public static final int PER_INSTANCE
- See Also:
- Constant Field Values
PER_THREAD
public static final int PER_THREAD
- See Also:
- Constant Field Values
DeploymentModel
public DeploymentModel()
getDeploymentModelAsInt
public static int getDeploymentModelAsInt(java.lang.String type)
- Returns the deployment model for the string type.
- Parameters:
type
- the string type
- Returns:
- the matched deployment type
Copyright (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.