Skip to content

Commit

Permalink
FISH-8309 Copyright year and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jGauravGupta committed May 1, 2024
1 parent a89b7e8 commit ffd0e6c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* only if the new code is made subject to such option by the copyright
* holder.
*/
// Portions Copyright [2016-2021] [Payara Foundation and/or its affiliates]
// Portions Copyright [2016-2024] [Payara Foundation and/or its affiliates]

package com.sun.enterprise.deployment;

Expand Down Expand Up @@ -604,8 +604,12 @@ public void print(StringBuilder toStringBuilder) {
@Override
public abstract ArchiveType getModuleType();

/**
* Processes the bundle descriptor.
* This method should be overridden in subclasses to provide specific processing logic
* for the bundle descriptor.
*/
public void processBundleDescriptor() {

}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* only if the new code is made subject to such option by the copyright
* holder.
*/
// Portions Copyright [2020-2021] [Payara Foundation and/or its affiliates.]
// Portions Copyright [2020-2024] [Payara Foundation and/or its affiliates.]

package com.sun.enterprise.deployment.archivist;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* only if the new code is made subject to such option by the copyright
* holder.
*/
// Portions Copyright [2016-2019] [Payara Foundation and/or its affiliates]
// Portions Copyright [2016-2024] [Payara Foundation and/or its affiliates]

package org.glassfish.ejb.deployment.descriptor;

Expand Down Expand Up @@ -355,6 +355,10 @@ public Collection<Long> getDescriptorIds() {
return ejbIDs;
}

/**
* Processes the bundle descriptor by invoking the processing of each EjbDescriptor.
* It is assumed that the ejbs collection is already populated with EjbDescriptor instances.
*/
public void processBundleDescriptor() {
for (EjbDescriptor ejbDescriptor : ejbs) {
ejbDescriptor.processDescriptor();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2373,6 +2373,11 @@ public void setEjbBundleDescriptor(EjbBundleDescriptorImpl bundleDescriptor) {
this.bundleDescriptor = bundleDescriptor;
}

/**
* Processes the descriptor by adding various descriptors and properties
* from the root bundle descriptor.
* It is expected that the bundle descriptor is already set before calling this method.
*/
public void processDescriptor() {
if (this.bundleDescriptor != null) {
for (Object ejbRefObj : this.bundleDescriptor.getEjbReferenceDescriptors()) {
Expand Down

0 comments on commit ffd0e6c

Please sign in to comment.