Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.connector.extensions
Annotation Type Unshareable


@Documented
@Retention(value=RUNTIME)
@Target(value=java.lang.annotation.ElementType.TYPE)
public @interface Unshareable

This annotation can be applied on ManagedConnectionFactory class to indicate a MCF, and all outbound connection pools based on it, does NOT support share. This is useful for applications that cannnot follow the standard java EE resource reference mechanism for web application and EJB to defining reference to adapter connection factory. In such case, applications have to lookup unshareable connection pool from WebLogic global JNDI tree which is treat as sharable by default. Note: this annotation must be put on each ManagedConnectionFactory class that is unshareable directly. Annotation on super-class or super-interface will be ignored.


Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02