public class AbstractExtension<CONTAINER> extends Object implements Extension<CONTAINER>
Extension.InitPriorityComparator, Extension.ShutdownPriorityComparator
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_INIT_PRIORITY |
static int |
DEFAULT_SHUTDOWN_PRIORITY |
Constructor and Description |
---|
AbstractExtension() |
AbstractExtension(int initPriority,
int shutdownPriority) |
Modifier and Type | Method and Description |
---|---|
void |
clearDisabled() |
void |
clearDisabledForMessage(Message message) |
void |
clearDisabledForMessageEnvelope(MessageEnvelope messageEnvelope) |
void |
clearDisabledForOperation(Operation operation) |
int |
getInitPriority() |
int |
getShutdownPriority() |
void |
init(CONTAINER container) |
void |
setDisabled() |
void |
setDisabledForMessage(Message message) |
void |
setDisabledForMessageEnvelope(MessageEnvelope messageEnvelope) |
void |
setDisabledForOperation(Operation operation) |
void |
shutdown(CONTAINER container) |
boolean |
skip(ExecutionContext executionContext) |
public static final int DEFAULT_INIT_PRIORITY
public static final int DEFAULT_SHUTDOWN_PRIORITY
public AbstractExtension(int initPriority, int shutdownPriority)
public AbstractExtension()
public int getInitPriority()
getInitPriority
in interface Extension<CONTAINER>
public int getShutdownPriority()
getShutdownPriority
in interface Extension<CONTAINER>
public boolean skip(ExecutionContext executionContext)
public void setDisabled()
setDisabled
in interface Extension<CONTAINER>
public void clearDisabled()
clearDisabled
in interface Extension<CONTAINER>
public void setDisabledForMessageEnvelope(MessageEnvelope messageEnvelope)
setDisabledForMessageEnvelope
in interface Extension<CONTAINER>
public void clearDisabledForMessageEnvelope(MessageEnvelope messageEnvelope)
clearDisabledForMessageEnvelope
in interface Extension<CONTAINER>
public void setDisabledForMessage(Message message)
setDisabledForMessage
in interface Extension<CONTAINER>
public void clearDisabledForMessage(Message message)
clearDisabledForMessage
in interface Extension<CONTAINER>
public void setDisabledForOperation(Operation operation)
setDisabledForOperation
in interface Extension<CONTAINER>
public void clearDisabledForOperation(Operation operation)
clearDisabledForOperation
in interface Extension<CONTAINER>
Copyright © 2017. All rights reserved.