outmind
outmind

Reputation: 829

When an Activator class/"Bundle-Activator" is needed in plug-in and when it's not?

I've implemented "New Wizard" plug-in for my content-type. Tested it - it works.

Then I've found that neither Bundle-Activator was declared, nor the Activator class was defined.

The question is - when the Activator class is really needed in plug-in. And when it doesn't needed at all?

Upvotes: 3

Views: 1912

Answers (1)

RaduK
RaduK

Reputation: 1463

You only need the Bundle-Activator when you need to to something at the start and / or stop of your bundle. If your bundle is only a lib that is exporting some packages, you don't need the activation.

If you didn't need one for your bundle to function as it is supposed to, then it probably doesn't need one :)

Upvotes: 7

Related Questions