Search in sources :

Example 1 with NotNull

use of com.sun.istack.NotNull in project Payara by payara.

the class AppServRegistry method getEjbRuntimeEndpointInfo.

/**
 * Method is used by WS invoker to clear some EJB invoker state ???
 */
@NotNull
public EjbRuntimeEndpointInfo getEjbRuntimeEndpointInfo(@NotNull final String wsPath) {
    final WSEndpointDescriptor wsEndpointDescriptor = WSTCPAdapterRegistryImpl.getInstance().lookupEndpoint(wsPath);
    EjbRuntimeEndpointInfo endpointInfo = null;
    if (wsEndpointDescriptor.isEJB()) {
        endpointInfo = (EjbRuntimeEndpointInfo) V3Module.getWSEjbEndpointRegistry().getEjbWebServiceEndpoint(wsEndpointDescriptor.getURI(), "POST", null);
    }
    return endpointInfo;
}
Also used : EjbRuntimeEndpointInfo(org.glassfish.webservices.EjbRuntimeEndpointInfo) NotNull(com.sun.istack.NotNull)

Aggregations

NotNull (com.sun.istack.NotNull)1 EjbRuntimeEndpointInfo (org.glassfish.webservices.EjbRuntimeEndpointInfo)1