|
SAP NetWeaver 7.30 (SP02) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IService
Interface implemented by all the classes that want to specify a Service
| Method Summary | |
|---|---|
void |
afterInit()
Deprecated. This method is no longer executed in a separate phase, but is executed immediately after the init method. Place all initialization code in init(IServiceContext serviceContext). The only case that this method may be necessary is if a service depends on other services that it is not aware of in advance. However, this would be bad design, and it is highly recommended not to use this method at all. For known dependencies, define runtime references (sharing references) in the portalapp.xml deployment descriptor. This ensures that all dependent services are initialized (that is, their init methods are called) before this service is initialized. It is possible to have the portal execute the afterInit method after executing the init method for all services, by modifying the portalapp.xml deployment descriptor. For more information, see SAP note # 960199 |
void |
configure(IServiceConfiguration configuration)
Deprecated. Do not use anymore. |
void |
destroy()
Called upon release of the service from the container. |
IServiceContext |
getContext()
get the context of the service |
String |
getKey()
return the key of the service |
void |
init(IServiceContext serviceContext)
generic init of the service |
void |
release()
Deprecated. use destroy instead. |
| Method Detail |
|---|
void init(IServiceContext serviceContext)
serviceContext - void afterInit()
void configure(IServiceConfiguration configuration)
configuration - void destroy()
void release()
IServiceContext getContext()
String getKey()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com]
|
default
|
EP-PIN-PRT
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/lib/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.30 (SP02) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||