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, visit
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
public 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
Exception
public MetadataSource getMetadataSource()
public void setMetadataSource(MetadataSource metadataSource)
Copyright © 2019. All rights reserved.