org.rhq.enterprise.server.jaxb.adapter
Class ResourceGroupAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<org.rhq.enterprise.server.jaxb.adapter.WsResourceGroupWrapper,org.rhq.core.domain.resource.group.ResourceGroup>
org.rhq.enterprise.server.jaxb.adapter.ResourceGroupAdapter
public class ResourceGroupAdapter
- extends XmlAdapter<org.rhq.enterprise.server.jaxb.adapter.WsResourceGroupWrapper,org.rhq.core.domain.resource.group.ResourceGroup>
This adapter is a JAXB wrapper for the ResourceGroup class.
Problematic fields on resource: ResourceGroup.groupCategory
- Author:
- Simeon Pinder
|
Method Summary |
org.rhq.enterprise.server.jaxb.adapter.WsResourceGroupWrapper |
marshal(org.rhq.core.domain.resource.group.ResourceGroup opaque)
Converts a ResourceGroup type back to marshallable JAXB type. |
org.rhq.core.domain.resource.group.ResourceGroup |
unmarshal(org.rhq.enterprise.server.jaxb.adapter.WsResourceGroupWrapper marshallable)
Converts the WsResourceGroupWrapper type back into familiar ResourceGroup type on server side. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceGroupAdapter
public ResourceGroupAdapter()
marshal
public org.rhq.enterprise.server.jaxb.adapter.WsResourceGroupWrapper marshal(org.rhq.core.domain.resource.group.ResourceGroup opaque)
throws Exception
- Converts a ResourceGroup type back to marshallable JAXB type.
- Specified by:
marshal in class XmlAdapter<org.rhq.enterprise.server.jaxb.adapter.WsResourceGroupWrapper,org.rhq.core.domain.resource.group.ResourceGroup>
- Throws:
Exception
unmarshal
public org.rhq.core.domain.resource.group.ResourceGroup unmarshal(org.rhq.enterprise.server.jaxb.adapter.WsResourceGroupWrapper marshallable)
throws Exception
- Converts the WsResourceGroupWrapper type back into familiar ResourceGroup type on server side.
- Specified by:
unmarshal in class XmlAdapter<org.rhq.enterprise.server.jaxb.adapter.WsResourceGroupWrapper,org.rhq.core.domain.resource.group.ResourceGroup>
- Throws:
Exception
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.