public class LifecycleCallbackDescriptor extends Descriptor
| Modifier and Type | Class and Description |
|---|---|
static class |
LifecycleCallbackDescriptor.CallbackType |
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED| Constructor and Description |
|---|
LifecycleCallbackDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultLifecycleCallbackClass() |
String |
getLifecycleCallbackClass() |
String |
getLifecycleCallbackMethod() |
Method |
getLifecycleCallbackMethodObject(ClassLoader loader)
Given a classloader, find the Method object corresponding to this
lifecycle callback.
|
MetadataSource |
getMetadataSource() |
boolean |
isRequiresInvocationContextArgument() |
void |
setDefaultLifecycleCallbackClass(String clazz) |
void |
setLifecycleCallbackClass(String clazz) |
void |
setLifecycleCallbackMethod(String method) |
void |
setMetadataSource(MetadataSource metadataSource) |
void |
setRequiresInvocationContextArgument(boolean requiresInvocationContextArgument) |
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, print, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visitaddExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toStringaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic void setLifecycleCallbackClass(String clazz)
public String getLifecycleCallbackClass()
public void setDefaultLifecycleCallbackClass(String clazz)
public String getDefaultLifecycleCallbackClass()
public void setLifecycleCallbackMethod(String method)
public String getLifecycleCallbackMethod()
public boolean isRequiresInvocationContextArgument()
public void setRequiresInvocationContextArgument(boolean requiresInvocationContextArgument)
public Method getLifecycleCallbackMethodObject(ClassLoader loader) throws Exception
Exceptionpublic MetadataSource getMetadataSource()
public void setMetadataSource(MetadataSource metadataSource)
Copyright © 2017. All rights reserved.