Class Dog
- java.lang.Object
-
- org.jboss.cdi.tck.tests.full.extensions.producer.Dog
-
public class Dog extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_COLOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetColor()static DogBedgetDogBed()DogBonegetDogBone()voidinit(DogBed dogBed)static booleanisConstructorCalled()static booleanisPostConstructCalled()static booleanisPreDestroyCalled()voidpostConstruct()voidpreDestroy()static voidsetConstructorCalled(boolean constructorCalled)static voidsetDogBed(DogBed dogBed)voidsetDogBone(DogBone dogBone)static voidsetPostConstructCalled(boolean postConstructCalled)static voidsetPreDestroyCalled(boolean preDestroyCalled)
-
-
-
Field Detail
-
DEFAULT_COLOR
public static final String DEFAULT_COLOR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Dog
public Dog()
-
Dog
public Dog(String color)
-
-
Method Detail
-
init
@Inject public void init(DogBed dogBed)
-
postConstruct
@PostConstruct public void postConstruct()
-
preDestroy
@PreDestroy public void preDestroy()
-
isConstructorCalled
public static boolean isConstructorCalled()
-
setConstructorCalled
public static void setConstructorCalled(boolean constructorCalled)
-
getDogBed
public static DogBed getDogBed()
-
setDogBed
public static void setDogBed(DogBed dogBed)
-
getColor
public String getColor()
-
isPostConstructCalled
public static boolean isPostConstructCalled()
-
setPostConstructCalled
public static void setPostConstructCalled(boolean postConstructCalled)
-
isPreDestroyCalled
public static boolean isPreDestroyCalled()
-
setPreDestroyCalled
public static void setPreDestroyCalled(boolean preDestroyCalled)
-
getDogBone
public DogBone getDogBone()
-
setDogBone
public void setDogBone(DogBone dogBone)
-
-