|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILoadPolicy
An object with a load policy. Usually objects that implement this interface
also implement the ILoadable interface, but not always. A load policy
specifies what happens when the object is instantiated or initialized.
| Field Summary | |
|---|---|
static int |
BACKGROUND_LOAD
Loading behavior where the object loads itself in the background when instantiated, initialized, or opened. |
static int |
IMMEDIATE_LOAD
Loading behavior where the object loads itself when instantiated, initialized, or opened, blocking the method. |
static int |
NO_LOAD
Loading behavior where the object does not load itself when instantiated, initialized, or opened.. |
| Method Summary | |
|---|---|
int |
getLoadPolicy()
Returns the load policy for this object, expressed as an integer. |
void |
setLoadPolicy(int policy)
Sets the load policy for this object. |
| Field Detail |
|---|
static final int NO_LOAD
ILoadable.load(boolean) method, if the object
supports it). Value is 1 << 1.
static final int BACKGROUND_LOAD
static final int IMMEDIATE_LOAD
| Method Detail |
|---|
void setLoadPolicy(int policy)
policy - the policy to implement; may be one of NO_LOAD,
BACKGROUND_LOAD, IMMEDIATE_LOAD or
an implementation-dependent value.int getLoadPolicy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||