on 10-08-2007 6:02 AM
Hi,
I implemented a repository manager by extending
com.sap.netweaver.bc.rf.mi.AbstractManager
,which provides functions like
startUpImpl()
and
shutDownImpl()
.
My question is, when I remove an instance of it in <i>System Admin</i> - <i>System Configuration</i> - <i>Knowledge Management</i> - <i>Content Management</i> in EP, what function in the Repository Manager is called?
Function shutDownImpl() is not called when the instance is removed, but is called when EP is stopped.
Thanks,
Ray
Hi,
com.sap.netweaver.bc.rf.mi.AbstractManager
has as well the method
public final void stop()
Description:
This method is only called once during the life-time of a component. It is called by the CRT when the component was removed from the configuration or the system shuts down. A stopped component can not be (re)started. After a shutdown the component instance will be finalized by the Java VM as soon as no other components in the system holds a reference to it.
Best Regards
Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The shutdown method is probably the right place for what you're trying to do (what are you trying to do?).
I'd open a support ticket with SAP - or contact me directly with your sources - and let us have a look at this. I've seen repository managers linger after being removed from the configuration before.
Hi Ray - as far as I'm informed this method should be called either when the RM is removed from configuration or when the portal is shut down. Are you sure it's not being called?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.