You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "fritz proebstle (JIRA)" <ji...@apache.org> on 2014/09/09 13:22:30 UTC
[jira] [Created] (FELIX-4636) @PostUnregistration method called
instead of @PostRegistration method
fritz proebstle created FELIX-4636:
--------------------------------------
Summary: @PostUnregistration method called instead of @PostRegistration method
Key: FELIX-4636
URL: https://issues.apache.org/jira/browse/FELIX-4636
Project: Felix
Issue Type: Bug
Components: iPOJO
Affects Versions: ipojo-runtime-1.12.0
Reporter: fritz proebstle
After Service Registration the uname method ( annotated with @PostUnregistration ) is called instead of ( name( annotated with @PostRegistration)-
I'm working with ipojo 1.12.0
---- code follows----
@Component(immediate=true)
@Provides(strategy = "SINGLETON")
@Instantiate
public class TestServiceImpl implements TestService
{
public TestServiceImpl()
{
System.out.println( "TestServiceImpl Constructor");
}
/* (non-Javadoc)
* @see de.transver.incap.infrastructure.impl.service.TestService#validate()
*/
@Override
@Validate
public void validate()
{
System.out.println( "Validate");
}
/* (non-Javadoc)
* @see de.transver.incap.infrastructure.impl.service.TestService#invalidate()
*/
@Override
@Invalidate
public void invalidate()
{
System.out.println( "Invalidate");
}
/* (non-Javadoc)
* @see de.transver.incap.infrastructure.impl.service.TestService#name(org.osgi.framework.ServiceReference)
*/
@Override
@PostRegistration
public void name(ServiceReference ref)
{
System.out.println( "PostRegistration");
}
/* (non-Javadoc)
* @see de.transver.incap.infrastructure.impl.service.TestService#uname(org.osgi.framework.ServiceReference)
*/
@Override
@PostUnregistration
public void uname(ServiceReference ref)
{
System.out.println( "PostUnregistration");
}
}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)