|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContentProvider
Interface used by the server to communicate with a content provider. Content providers implement this interface as well as any other source interfaces to further describe what functionality is provided by the provider.
The class name of this interface's implementation is the class name specified in the server plugin descriptor.
RepoSource,
PackageSource| Method Summary | |
|---|---|
void |
initialize(Configuration configuration)
Initializes the adapter with the configuration values indicating how to connect to the external source system. |
void |
shutdown()
Informs the adapter that it should shutdown. |
void |
testConnection()
Tests if the content provider can communicate with the external package source. |
| Method Detail |
|---|
void initialize(Configuration configuration)
throws java.lang.Exception
configuration - user entered values describing how the content provider should function.
java.lang.Exception - if the content provider has an issue being configured.void shutdown()
void testConnection()
throws java.lang.Exception
initialize(Configuration) to ensure the adapter is in a configured state to run the test.
java.lang.Exception - if the connection cannot be made to the external system.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||