public class EServiceHolder extends EComponentHolder implements HasIntentBuilder, HasReceiverRegistration
contextRef, init
annotatedClass, annotatedElement, codeModelHelper, generatedClass, processHolder
Constructor and Description |
---|
EServiceHolder(ProcessHolder processHolder,
javax.lang.model.element.TypeElement annotatedElement,
AndroidManifest androidManifest) |
Modifier and Type | Method and Description |
---|---|
IntentBuilder |
getIntentBuilder() |
com.sun.codemodel.JDefinedClass |
getIntentBuilderClass() |
com.sun.codemodel.JFieldVar |
getIntentFilterField(java.lang.String[] actions,
java.lang.String[] dataSchemes) |
com.sun.codemodel.JBlock |
getOnAttachAfterSuperBlock() |
com.sun.codemodel.JBlock |
getOnCreateAfterSuperBlock() |
com.sun.codemodel.JBlock |
getOnDestroyBeforeSuperBlock() |
com.sun.codemodel.JBlock |
getOnDetachBeforeSuperBlock() |
com.sun.codemodel.JBlock |
getOnPauseBeforeSuperBlock() |
com.sun.codemodel.JBlock |
getOnResumeAfterSuperBlock() |
com.sun.codemodel.JBlock |
getOnStartAfterSuperBlock() |
com.sun.codemodel.JBlock |
getOnStopBeforeSuperBlock() |
protected void |
setContextRef() |
protected void |
setInit() |
void |
setIntentBuilderClass(com.sun.codemodel.JDefinedClass intentBuilderClass) |
getContextRef, getDatabaseHelperRef, getHandler, getInit, getInitBody, getPowerManagerRef, getResourcesRef
classes, codeModel, definedClass, getAnnotatedClass, getAnnotatedElement, getGeneratedClass, processingEnvironment, refClass, refClass, setExtends, setGeneratedClass
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContextRef
classes, codeModel, definedClass, getAnnotatedElement, getGeneratedClass, processingEnvironment, refClass, refClass
public EServiceHolder(ProcessHolder processHolder, javax.lang.model.element.TypeElement annotatedElement, AndroidManifest androidManifest) throws java.lang.Exception
java.lang.Exception
public IntentBuilder getIntentBuilder()
getIntentBuilder
in interface HasIntentBuilder
protected void setContextRef()
setContextRef
in class EComponentHolder
protected void setInit()
setInit
in class EComponentHolder
public void setIntentBuilderClass(com.sun.codemodel.JDefinedClass intentBuilderClass)
setIntentBuilderClass
in interface HasIntentBuilder
public com.sun.codemodel.JDefinedClass getIntentBuilderClass()
getIntentBuilderClass
in interface HasIntentBuilder
public com.sun.codemodel.JFieldVar getIntentFilterField(java.lang.String[] actions, java.lang.String[] dataSchemes)
getIntentFilterField
in interface HasReceiverRegistration
public com.sun.codemodel.JBlock getOnCreateAfterSuperBlock()
getOnCreateAfterSuperBlock
in interface HasReceiverRegistration
public com.sun.codemodel.JBlock getOnDestroyBeforeSuperBlock()
getOnDestroyBeforeSuperBlock
in interface HasReceiverRegistration
public com.sun.codemodel.JBlock getOnStartAfterSuperBlock()
getOnStartAfterSuperBlock
in interface HasReceiverRegistration
public com.sun.codemodel.JBlock getOnStopBeforeSuperBlock()
getOnStopBeforeSuperBlock
in interface HasReceiverRegistration
public com.sun.codemodel.JBlock getOnResumeAfterSuperBlock()
getOnResumeAfterSuperBlock
in interface HasReceiverRegistration
public com.sun.codemodel.JBlock getOnPauseBeforeSuperBlock()
getOnPauseBeforeSuperBlock
in interface HasReceiverRegistration
public com.sun.codemodel.JBlock getOnAttachAfterSuperBlock()
getOnAttachAfterSuperBlock
in interface HasReceiverRegistration
public com.sun.codemodel.JBlock getOnDetachBeforeSuperBlock()
getOnDetachBeforeSuperBlock
in interface HasReceiverRegistration
Copyright © 2010-2014. All Rights Reserved.