org.codehaus.aspectwerkz
Class DeploymentModel

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

Field Summary
static int PER_CLASS
           
static int PER_INSTANCE
           
static int PER_JVM
           
static int PER_THREAD
           
 
Constructor Summary
DeploymentModel()
           
 
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
 

Field Detail

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

DeploymentModel

public DeploymentModel()
Method Detail

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.