MotechLifecycleListener

public class MotechLifecycleListener

Contains essential information about InstanceLifecycleListeners, which are provided by org.motechproject.mds.annotations.InstanceLifecycleListener annotation.

See also: org.motechproject.mds.annotations.InstanceLifecycleListener

Constructors

MotechLifecycleListener

public MotechLifecycleListener(Class service, String methodName, String parameterType, String packageName, InstanceLifecycleListenerType[] types, List<String> entityNames)

Methods

addMethod

public void addMethod(Map<InstanceLifecycleListenerType, Set<String>> method)

equals

public boolean equals(Object obj)

getEntityNames

public List<String> getEntityNames()

getMethodsByType

public Map<InstanceLifecycleListenerType, Set<String>> getMethodsByType()

getPackageName

public String getPackageName()

getParameterType

public String getParameterType()

getService

public Class getService()

hashCode

public int hashCode()

setEntityNames

public void setEntityNames(List<String> entityNames)

setPackageName

public void setPackageName(String packageName)