public class SomeServiceImpl extends Object implements SomeService
Constructor and Description |
---|
SomeServiceImpl() |
Modifier and Type | Method and Description |
---|---|
SomeBean |
createComplexTypeObject()
This method will return a complex object to validate that this is not
working only with primitive types
|
int |
getInstanceId()
This method will return a String that can only be known by itself
|
void |
throwAnExceptionIfFalse(Boolean bool)
Will throw an AnyException to test exception propagation
|
public int getInstanceId()
SomeService
getInstanceId
in interface SomeService
public SomeBean createComplexTypeObject()
SomeService
createComplexTypeObject
in interface SomeService
public void throwAnExceptionIfFalse(Boolean bool) throws AnyException
SomeService
throwAnExceptionIfFalse
in interface SomeService
bool
- true : will not fail, false will failAnyException
- if the given boolean is falseCopyright © 2004–2020 CodeLutin. All rights reserved.