[
https://issues.apache.org/jira/browse/OWB-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Blevins updated OWB-134:
------------------------------
Attachment: OWB-134.patch.txt
This is a rather large patch. I would not be the least bit offended if it was
not applied due to size. I got started updating one thing and then just
couldn't stop myself :)
Here are the refactors I went through to bring the code up to the latest API
changes. Should help with reviewing. Also good information if you'd rather do
the refactors incrementally or differently instead of as one big patch.
----
CLASS RENAMES
@InterceptorBindingType -> @InterceptorBinding
Notify -> Reception
API METHOD RENAMES
Bean
- getBindingTypes() -> getQualifiers()
- getScopeTypes() -> getScopes()
Context
- getScopeType() -> getScope()
BeanManager
- isInterceptorBindingType() -> isInterceptorBinding()
- getInterceptorBindingTypeDefinition() -> getInterceptorBindingDefinition()
BeforeBeanDiscovery
- addBindingType() -> addQualifier()
- addInterceptorBindingType() -> addInterceptorBindingType()
Decorator
- getDelegateBindingTypes() -> getDelegateQualifiers()
InjectionPoint
- getBindingTypes() -> getQualifiers()
Interceptor
- getInterceptorBindingTypes() - getInterceptorBindings()
ObserverMethod
- getObservedBindings() -> getObservedQualifiers()
- getNotify() -> getReception()
EXCEPTION TEXT
@ScopeType in text -> @Scope
@BindingType in text -> @Qualifier
@InterceptorBindingType in text -> @InterceptorBinding
INTERNAL METHOD RENAMES
AbstractBean
- getImplBindingTypes -> getImplQualifiers()
- addBindingType() -> addQualifier()
BeanCreator
- defineBindingType() -> defineQualifier()
DefinitionUtil
- defineBindingTypes() -> defineQualifiers()
AnnotationUtil
- isBindingAnnotation() -> isQualifierAnnotation()
- getBindingAnnotation() -> getQualifierAnnotations()
- getMethodFirstParameterBindingTypesWithGivenAnnotation() ->
getMethodFirstParameterQualifierWithGivenAnnotation()
- checkBindingTypeConditions() -> checkQualifierConditions()
- isAnyBindingExist() -> isAnyQualifierExist()
IBeanInheritedMetaData
- getInheritedBindingTypes() -> getInheritedQualifiers()
- getInheritedInterceptorBindingTypes() -> getInheritedInterceptorBindings()
InstanceImpl
- getAdditionalBindings() -> getAdditionalQualifiers()
ObserverWrapper
- getEventBindingTypes() -> getEventQualifiers()
- isObserverOfBindings() -> isObserverOfQualifiers()
WebBeansInterceptor
- addInterceptorBindingType() -> addInterceptorBinding()
- isBindingTypesExist() -> isBindingExist()
WebBeansUtil
- checkForNewBindingForDeployment() -> checkForNewQualifierForDeployment()
All relating parameter names, variable names and javadoc was updated as well.
Most of it anyways.
> Remaining 299 draft spec API changes
> ------------------------------------
>
> Key: OWB-134
> URL: https://issues.apache.org/jira/browse/OWB-134
> Project: OpenWebBeans
> Issue Type: Task
> Reporter: David Blevins
> Assignee: Gurkan Erdogdu
> Attachments: OWB-134.patch.txt
>
>
> Still some API changes needed after the 330 impact on the 299 spec.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.