Skip to content

requirement-yogi/cross-plugin-communication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demonstration of an unsuccessful communication between plugins

This repository was set up to ask for help with cross-plugin communication.

How to setup

# With Java 17
# With Maven 3.9.9
# With Confluence 9.4
mvn install

It will produce 2 plugins that you can install in Confluence.

Checking it works

Each plugin should say its name:

Usecases:

Communicating across plugins

  • Plugin B has ComponentB.java, which implements MyInterface.class from Plugin A,
  • Plugin B imports the package of MyInterface using a <DynamicImport-Package>,
  • Plugin A exports this package using <Export-Package>,
  • Plugin A's REST API queries all components implementing MyInterface. It should return ComponentA and ComponentB,
  • But it returns neither of them at http://c9.4.0.local:2013/c-app/rest/plugin-a/1/magic/4 ( ❌ Doesn't work)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages