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 theMartiniPackage
of theThreadLocal
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
removePackage()
Removes aMartiniPackage
from the contextstatic void
setPackage(MartiniPackage martiniPackage)
Sets aMartiniPackage
to the context
-
-
-
Method Detail
-
setPackage
public static void setPackage(MartiniPackage martiniPackage)
Sets aMartiniPackage
to the context- Parameters:
martiniPackage
- Package to be set
-
removePackage
public static void removePackage()
Removes aMartiniPackage
from the context
-
-