O
- the type of Object that is being builtpublic abstract class AbstractSecurityBuilder<O> extends java.lang.Object implements SecurityBuilder<O>
SecurityBuilder
that ensures the object being built is only built one
time.Constructor and Description |
---|
AbstractSecurityBuilder() |
Modifier and Type | Method and Description |
---|---|
O |
build()
Builds the object and returns it or null.
|
protected abstract O |
doBuild()
Subclasses should implement this to perform the build.
|
O |
getObject()
Gets the object that was built.
|
public final O build() throws java.lang.Exception
SecurityBuilder
build
in interface SecurityBuilder<O>
java.lang.Exception
- if an error occurred when building the Objectpublic final O getObject()