/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/spi/distributed/ |
H A D | DistributedReadOnlyBeanNotifier.java | 58 * @param pk The primary key of the bean(s) that is to be refreshed 60 public void notifyRefresh(long ejbID, byte[] pk); argument 66 * @param pk The primary key of the bean(s) that is to be refreshed
|
H A D | ReadOnlyBeanRefreshEventHandler.java | 57 * the bean's pk 65 * @param pk the primary key that needs to be refreshed 67 public void handleRefreshRequest(Object pk); argument
|
H A D | DistributedReadOnlyBeanService.java | 92 * @param pk the primary key to be refreshed 94 public void notifyRefresh(long ejbID, Object pk); argument 108 * @param pk the primary key to be refreshed
|
H A D | DistributedReadOnlyBeanServiceImpl.java | 88 public void notifyRefresh(long ejbID, Object pk) { argument 98 oos.writeObject(pk); 170 Serializable pk = null; 175 pk = (Serializable) ois.readObject(); 198 if (pk != null) { 199 info.handler.handleRefreshRequest(pk);
|
H A D | ReadOnlyBeanMessageCallBack.java | 114 * @param pk 117 public void notifyRefresh(long ejbID, byte[] pk) { argument 118 int size = pk.length; 123 System.arraycopy(pk, 0, payload, 8, size); 137 * @param pk
|
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/ |
H A D | TimerPrimaryKey.java | 51 public TimerPrimaryKey(String pk) argument 53 timerId = pk;
|
H A D | EntityContextImpl.java | 255 Object pk = getPrimaryKey(); 256 this._primaryKey = pk; 257 this._pkHashCode = pk.hashCode(); 265 final boolean doesMatch(BaseContainer baseContainer, int pkHashCode, Object pk) { argument 269 && (_primaryKey.equals(pk))
|
H A D | RuntimeTimerState.java | 410 Object pk = getTimedObjectPrimaryKey(); 411 if( pk != null ) { 412 buffer.append("'" + pk + "' ");
|
H A D | EntityContainer.java | 3013 EntityContextImpl get(BaseContainer container, Object pk) { argument 3014 int pkHashCode = pk.hashCode(); 3019 if (ctx.doesMatch(container, pkHashCode, pk)) { 3035 EntityContextImpl remove(BaseContainer container, Object pk) { argument 3036 int pkHashCode = pk.hashCode(); 3041 if (ctx.doesMatch(container, pkHashCode, pk)) { 3057 EntityContextImpl remove(Object pk, EntityContextImpl existingCtx) { argument 3058 int pkHashCode = pk.hashCode();
|
H A D | ReadOnlyBeanContainer.java | 246 // Grab the pk-specific lock before doing the refresh comparisons. 248 // amount of time. In the case where a pk-level refresh is needed, 250 // pk can occur. 330 } // releases lock for pk's read-only bean info 361 // Synch up pk-level sequence num after successful load 381 Object pk = context.getPrimaryKey(); 382 robCache.removeAll(pk); 637 // Lookup the read-only bean info for this pk. 638 // If there is no entry for this pk, do nothing. 738 // If someone else inserted robInfo for this pk befor [all...] |
H A D | EJBTimerService.java | 2193 TimerPrimaryKey pk = new TimerPrimaryKey(timerId); 2200 scheduleTask(pk, initialExpiration); 2208 new TimerSynch(pk, TimerState.ACTIVE, initialExpiration, 2212 containerSynch.addTimerSynchronization(pk, timerSynch);
|
H A D | BaseContainer.java | 807 protected void doEJBHomeRemove(Object pk, Method m, boolean isLocal) argument
|
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/ejb/ |
H A D | ContainerHelper.java | 98 * @param pk the primary key instance. 103 EJBObject getEJBObject(Object pk, Object container); argument 109 * @param pk the primary key instance. 114 EJBLocalObject getEJBLocalObject(Object pk, Object container); argument 122 * @param pk the primary key instance. 128 EJBLocalObject getEJBLocalObject(Object pk, Object container, argument 144 * @param pk the primary key for the bean to be removed. 147 void removeByPK(Object pk, Object container); argument
|
H A D | CMPHelper.java | 136 * @param pk the primary key instance. 141 public static EJBObject getEJBObject(Object pk, Object container) { argument 142 return getContainerHelper().getEJBObject(pk, container); 150 * @param pk the primary key instance. 155 public static EJBLocalObject getEJBLocalObject(Object pk, Object container) { argument 156 return getContainerHelper().getEJBLocalObject(pk, container); 166 * @param pk the primary key instance. 172 public static EJBLocalObject getEJBLocalObject(Object pk, Object container, argument 174 return getContainerHelper().getEJBLocalObject(pk, container, context); 194 * @param pk th 197 removeByPK(Object pk, Object container) argument [all...] |
H A D | SunContainerHelper.java | 149 * @param pk the primary key instance. 153 public EJBObject getEJBObject(Object pk, Object container) { argument 155 return ((Container)container).getEJBObjectForPrimaryKey(pk); 165 * @param pk the primary key instance. 169 public EJBLocalObject getEJBLocalObject(Object pk, Object container) { argument 171 return ((Container)container).getEJBLocalObjectForPrimaryKey(pk); 184 * @param pk the primary key instance. 189 public EJBLocalObject getEJBLocalObject(Object pk, Object container, EJBContext context) { argument 192 rc = ((Container)container).getEJBLocalObjectForPrimaryKey(pk, context); 219 * @param pk th 222 removeByPK(Object pk, Object container) argument [all...] |
/glassfish-3.1.2/persistence/cmp/generator-database/src/main/java/com/sun/jdo/spi/persistence/generator/database/ |
H A D | DDLGenerator.java | 406 UniqueKeyElement pk = table.getPrimaryKey(); 408 if (pk != null) { 410 twoParams[0] = pk.getName().getName(); 411 twoParams[1] = getColumnNames(pk.getColumns());
|
H A D | DBElementFactory.java | 217 UniqueKeyElement pk = refTbl.getPrimaryKey(); 218 ColumnElement [] pkColumns = pk.getColumns();
|
/glassfish-3.1.2/persistence/cmp/enhancer/src/main/java/com/sun/jdo/api/persistence/enhancer/generator/ |
H A D | ImplHelper.java | 481 String pk, 486 impl.add("if (" + pk + " == null || !this.getClass().equals(" 487 + pk + ".getClass())) {"); 489 impl.add("if (!super.equals(" + pk + ")) {"); 494 impl.add(oidClassName + " oid = (" + oidClassName + ")" + pk + 478 getOidEqualsImpl(String oidClassName, String[] pknames, String[] pktypes, String pk, boolean isRoot) argument
|
/glassfish-3.1.2/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/cmp/ |
H A D | JDOEJB11HelperImpl.java | 456 * @param pk the primary key instance to validate. 459 protected void assertPrimaryKeyNotNull(Object pk) { argument 460 if (pk == null) {
|
/glassfish-3.1.2/persistence/cmp/ejb-mapping/src/main/java/com/sun/jdo/api/persistence/mapping/ejb/ |
H A D | MappingFile.java | 985 /** Get the candidate pk column for unknown primary key. 988 * @return candidate pk column which will be used for unknown primary key, 1172 UniqueKeyElement pk = primaryTable.getPrimaryKey(); 1179 isPartOfPrimaryKey |= isPartOfPrimaryKey(ce, pk); 1211 if (primaryTableColumns.size() < pk.getColumns().length) { 1276 * primary key <code>pk</code>. 1281 * @param pk Primary key element. The column to be tested 1287 private boolean isPartOfPrimaryKey(ColumnElement ce, UniqueKeyElement pk) { argument 1288 return null != pk && ce.equals(pk [all...] |