public interface JvmMemberInitializableResource
resources
that support lazy initialization of members
.Modifier and Type | Method and Description |
---|---|
void |
addJvmMemberInitializer(java.lang.Runnable runnable)
register
runnables to be executed on ensureJvmMembersInitialized() . |
void |
ensureJvmMembersInitialized()
Executes any
runnables added through addJvmMemberInitializer(Runnable) |
boolean |
hasJvmMemberInitializers() |
boolean |
isInitializingJvmMembers()
Returns
true if this resource is currently initializing a the members of its contained types. |
void ensureJvmMembersInitialized()
runnables
added through addJvmMemberInitializer(Runnable)
boolean isInitializingJvmMembers()
true
if this resource is currently initializing a the members of its contained types.void addJvmMemberInitializer(java.lang.Runnable runnable)
runnables
to be executed on ensureJvmMembersInitialized()
.boolean hasJvmMemberInitializers()
JvmMember
initialization is activated for this resource.