Package io.toro.martini
Class PackageMethods.MartiniPackageSetter
- java.lang.Object
-
- io.toro.martini.PackageMethods.MartiniPackageSetter
-
- Enclosing class:
- PackageMethods
public static final class PackageMethods.MartiniPackageSetter extends Object
An internal class used for setting theMartiniPackageof theThreadLocal
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidremovePackage()Removes aMartiniPackagefrom the contextstatic voidsetPackage(MartiniPackage martiniPackage)Sets aMartiniPackageto the context
-
-
-
Method Detail
-
setPackage
public static void setPackage(MartiniPackage martiniPackage)
Sets aMartiniPackageto the context- Parameters:
martiniPackage- Package to be set
-
removePackage
public static void removePackage()
Removes aMartiniPackagefrom the context
-
-