Search in sources :

Example 1 with ObjectTypeResolver

use of org.apache.cxf.resource.ObjectTypeResolver in project tomee by apache.

the class ResourceManagerImpl method setBus.

@Resource
public final void setBus(Bus b) {
    if (bus != b) {
        bus = b;
        firstCalled = false;
        super.addResourceResolver(new ObjectTypeResolver(bus));
        if (null != bus) {
            bus.setExtension(this, ResourceManager.class);
        }
    }
}
Also used : ObjectTypeResolver(org.apache.cxf.resource.ObjectTypeResolver) Resource(javax.annotation.Resource)

Example 2 with ObjectTypeResolver

use of org.apache.cxf.resource.ObjectTypeResolver in project cxf by apache.

the class ResourceManagerImpl method setBus.

@Resource
public final void setBus(Bus b) {
    if (bus != b) {
        bus = b;
        firstCalled = false;
        super.addResourceResolver(new ObjectTypeResolver(bus));
        if (null != bus) {
            bus.setExtension(this, ResourceManager.class);
        }
    }
}
Also used : ObjectTypeResolver(org.apache.cxf.resource.ObjectTypeResolver) Resource(javax.annotation.Resource)

Aggregations

Resource (javax.annotation.Resource)2 ObjectTypeResolver (org.apache.cxf.resource.ObjectTypeResolver)2