com.sun.org.glassfish.gmbal.Description Java Examples

The following examples show how to use com.sun.org.glassfish.gmbal.Description. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MonitorRootService.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("Binding SOAP Version")
public String soapVersionHttpBindingId() {
    return endpoint.getBinding().getSOAPVersion().httpBindingId;
}
 
Example #2
Source File: MonitorRootService.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("WSDLPort bound port type")
public QName wsdlPortTypeName() {
    return endpoint.getPort() != null ?
           endpoint.getPort().getBinding().getPortTypeName() : null;
}
 
Example #3
Source File: MonitorRootService.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("Port name")
public @NotNull QName portName() {
    return endpoint.getPortName();
}
 
Example #4
Source File: MonitorRootService.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("Documents referenced")
public Set<String> serviceDefinitionImports() {
    return endpoint.getServiceDefinition() != null ?
           endpoint.getServiceDefinition().getPrimary().getImports() : null;
}
 
Example #5
Source File: MonitorRootService.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("System ID where document is taken from")
public URL serviceDefinitionURL() {
    return endpoint.getServiceDefinition() != null ?
           endpoint.getServiceDefinition().getPrimary().getURL() : null;
}
 
Example #6
Source File: MonitorRootService.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("Endpoint address")
public EndpointAddress wsdlEndpointAddress() {
    return endpoint.getPort() != null ?
           endpoint.getPort().getAddress() : null;
}
 
Example #7
Source File: MonitorRootService.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("Binding Identifier")
public @NotNull BindingID bindingID() {
    return endpoint.getBinding().getBindingId();
}
 
Example #8
Source File: MonitorRootService.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("Binding Addressing Version")
public AddressingVersion addressingVersion() {
    return endpoint.getBinding().getAddressingVersion();
}
 
Example #9
Source File: MonitorRootService.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("Binding SOAP Version")
public String soapVersionHttpBindingId() {
    return endpoint.getBinding().getSOAPVersion().httpBindingId;
}
 
Example #10
Source File: MonitorRootService.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("Service name")
public @NotNull QName serviceName() {
    return endpoint.getServiceName();
}
 
Example #11
Source File: MonitorRootService.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("Binding features")
public @NotNull WSFeatureList features() {
    return endpoint.getBinding().getFeatures();
}
 
Example #12
Source File: MonitorRootService.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("If true: show what goes across HTTP transport")
public boolean dumpHTTPMessages() { return HttpAdapter.dump; }
 
Example #13
Source File: MonitorRootService.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("Binding features")
public @NotNull WSFeatureList features() {
    return endpoint.getBinding().getFeatures();
}
 
Example #14
Source File: MonitorRootService.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("Binding Identifier")
public @NotNull BindingID bindingID() {
    return endpoint.getBinding().getBindingId();
}
 
Example #15
Source File: MonitorRootService.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("Binding Addressing Version")
public AddressingVersion addressingVersion() {
    return endpoint.getBinding().getAddressingVersion();
}
 
Example #16
Source File: MonitorRootService.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("Endpoint address")
public EndpointAddress wsdlEndpointAddress() {
    return endpoint.getPort() != null ?
           endpoint.getPort().getAddress() : null;
}
 
Example #17
Source File: MonitorRootService.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("Service name")
public @NotNull QName serviceName() {
    return endpoint.getServiceName();
}
 
Example #18
Source File: MonitorRootService.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("Port name")
public @NotNull QName portName() {
    return endpoint.getPortName();
}
 
Example #19
Source File: MonitorRootService.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("Container")
public @NotNull Container container() {
    return endpoint.getContainer();
}
 
Example #20
Source File: MonitorRootService.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("Policy associated with Endpoint")
public String policy() {
    return endpoint.getPolicyMap() != null ?
           endpoint.getPolicyMap().toString() : null;
}
 
Example #21
Source File: MonitorBase.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
private @NotNull ManagedObjectManager initMOM(final ManagedObjectManager mom) {
    try {
        if (typelibDebug != -1) {
            mom.setTypelibDebug(typelibDebug);
        }
        if (registrationDebug.equals("FINE")) {
            mom.setRegistrationDebug(ManagedObjectManager.RegistrationDebugLevel.FINE);
        } else if (registrationDebug.equals("NORMAL")) {
            mom.setRegistrationDebug(ManagedObjectManager.RegistrationDebugLevel.NORMAL);
        } else {
            mom.setRegistrationDebug(ManagedObjectManager.RegistrationDebugLevel.NONE);
        }

        mom.setRuntimeDebug(runtimeDebug);

        // Instead of GMBAL throwing an exception and logging
        // duplicate name, just have it return null.
        mom.suppressDuplicateRootReport(true);

        mom.stripPrefix(
            "com.sun.xml.internal.ws.server",
            "com.sun.xml.internal.ws.rx.rm.runtime.sequence");

        // Add annotations to a standard class
        mom.addAnnotation(javax.xml.ws.WebServiceFeature.class, DummyWebServiceFeature.class.getAnnotation(ManagedData.class));
        mom.addAnnotation(javax.xml.ws.WebServiceFeature.class, DummyWebServiceFeature.class.getAnnotation(Description.class));
        mom.addAnnotation(javax.xml.ws.WebServiceFeature.class, DummyWebServiceFeature.class.getAnnotation(InheritedAttributes.class));

        // Defer so we can register "this" as root from
        // within constructor.
        mom.suspendJMXRegistration();

    } catch (Throwable t) {
        try {
            mom.close();
        } catch (IOException e) {
            logger.log(Level.CONFIG, "Ignoring exception caught when closing unused ManagedObjectManager", e);
        }
        logger.log(Level.WARNING, "Ignoring exception - starting up without monitoring", t);
        return ManagedObjectManagerFactory.createNOOP();
    }
    return mom;
}
 
Example #22
Source File: MonitorRootService.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("Show what goes across HTTP transport")
public void dumpHTTPMessages(final boolean x) { HttpAdapter.setDump(x); }
 
Example #23
Source File: MonitorRootService.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("JAX-WS runtime version")
public String jaxwsRuntimeVersion() {
    return RuntimeVersion.VERSION.toString();
}
 
Example #24
Source File: MonitorRootService.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("SEI model WSDL location")
public String seiModelWSDLLocation() {
    return endpoint.getSEIModel() != null ?
           endpoint.getSEIModel().getWSDLLocation() : null;
}
 
Example #25
Source File: MonitorRootService.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("SEI model WSDL location")
public String seiModelWSDLLocation() {
    return endpoint.getSEIModel() != null ?
           endpoint.getSEIModel().getWSDLLocation() : null;
}
 
Example #26
Source File: MonitorRootService.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("System ID where document is taken from")
public URL serviceDefinitionURL() {
    return endpoint.getServiceDefinition() != null ?
           endpoint.getServiceDefinition().getPrimary().getURL() : null;
}
 
Example #27
Source File: MonitorRootService.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("Documents referenced")
public Set<String> serviceDefinitionImports() {
    return endpoint.getServiceDefinition() != null ?
           endpoint.getServiceDefinition().getPrimary().getImports() : null;
}
 
Example #28
Source File: MonitorRootService.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("Endpoint address")
public EndpointAddress wsdlEndpointAddress() {
    return endpoint.getPort() != null ?
           endpoint.getPort().getAddress() : null;
}
 
Example #29
Source File: MonitorRootService.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("WSDLPort bound port type")
public QName wsdlPortTypeName() {
    return endpoint.getPort() != null ?
           endpoint.getPort().getBinding().getPortTypeName() : null;
}
 
Example #30
Source File: MonitorRootService.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
@ManagedAttribute
@Description("Binding features")
public @NotNull WSFeatureList features() {
    return endpoint.getBinding().getFeatures();
}