@Service @Named(value="iiop-service") public class ORBLazyServiceInitializer extends Object implements LazyServiceInitializer, org.glassfish.hk2.api.PostConstruct
Constructor and Description |
---|
ORBLazyServiceInitializer() |
Modifier and Type | Method and Description |
---|---|
String |
getServiceName() |
void |
handleRequest(SelectableChannel channel)
Upon successful ACCEPT of every request on this port, the service
is called upon to handle the request.
|
boolean |
initializeService()
Upon accepting the first request on the port (to which this listener is
bound), the listener will select the appropriate provider and call this
method to let the actual service initialize itself.
|
void |
postConstruct() |
public void postConstruct()
postConstruct
in interface org.glassfish.hk2.api.PostConstruct
public String getServiceName()
public boolean initializeService()
LazyServiceInitializer
initializeService
in interface LazyServiceInitializer
public void handleRequest(SelectableChannel channel)
LazyServiceInitializer
handleRequest
in interface LazyServiceInitializer
channel
- where the incoming request was accepted.Copyright © 2018. All rights reserved.