|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Registry for business object providers.
Each implementation is responsible for providing meta data for business object types as well as life cycle methods for business object instances to the framework.
New business object providers must actively register with the business object type registry. Provider type implementations must not keep state as the framework re-uses the same instance for all operations on the server.
Each business object provider has a unique provider name. Implementations must ensure that
the provider names are unique across all registered providers. The provider name also becomes
part of the name of the object type according to the following pattern:
<provider name>:<object type name>.
| Method Summary | |
IGPBusinessObjectProvider |
addProvider(IGPBusinessObjectProvider provider)
Add a given Provider to this IGPBusinessObjectProviderRegistry. |
Enumeration |
createProviderEnumeration()
Create an Enumeration of all Provider of this IGPBusinessObjectProviderRegistry. |
IGPBusinessObjectProvider |
getProvider(String name)
Retrieve a Provider of this IGPBusinessObjectProviderRegistry by a given Name. |
int |
getProviderCount()
Retrieve the Count of all Provider of this BusinessObjectProviderRegistry. |
IGPBusinessObjectProvider |
removeProvider(String name)
Remove a Provider of this IGPBusinessObjectProviderRegistry by a given Name. |
| Method Detail |
public IGPBusinessObjectProvider addProvider(IGPBusinessObjectProvider provider)
throws GPInvocationException
provider - the Provider to add, never null
InvocationException - in case the given Provider is invalid
GPInvocationExceptionpublic Enumeration createProviderEnumeration()
public IGPBusinessObjectProvider getProvider(String name)
throws GPInvocationException
name - the Name of the Provider to retrieve, never null
GPInvocationExceptionpublic int getProviderCount()
public IGPBusinessObjectProvider removeProvider(String name)
throws GPInvocationException
name - the Name of the Provider to remove, never null
GPInvocationException
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||